| Package | Description | 
|---|---|
| javax.management | 
 Provides the core classes for the Java Management Extensions. 
 | 
| javax.management.modelmbean | 
 Provides the definition of the ModelMBean classes. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Object | 
Descriptor.clone()
Returns a descriptor which is equal to this descriptor. 
 | 
Object | 
Descriptor.getFieldValue(String fieldName)
Returns the value for a specific field name, or null if no value
 is present for that name. 
 | 
boolean | 
Descriptor.isValid()
Returns true if all of the fields have legal values given their
 names. 
 | 
void | 
PersistentMBean.load()
Instantiates thisMBean instance with the data found for
 the MBean in the persistent store. 
 | 
void | 
Descriptor.setField(String fieldName,
        Object fieldValue)
Sets the value for a specific field name. 
 | 
void | 
ImmutableDescriptor.setField(String fieldName,
        Object fieldValue)
This operation is unsupported since this class is immutable. 
 | 
void | 
Descriptor.setFields(String[] fieldNames,
         Object[] fieldValues)
Sets all fields in the field names array to the new value with
 the same index in the field values array. 
 | 
void | 
ImmutableDescriptor.setFields(String[] fieldNames,
         Object[] fieldValues)
This operation is unsupported since this class is immutable. 
 | 
void | 
PersistentMBean.store()
Captures the current state of this MBean instance and
 writes it out to the persistent store. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
RequiredModelMBean.addAttributeChangeNotificationListener(NotificationListener inlistener,
                                      String inAttributeName,
                                      Object inhandback)  | 
void | 
ModelMBeanNotificationBroadcaster.addAttributeChangeNotificationListener(NotificationListener listener,
                                      String attributeName,
                                      Object handback)
Registers an object which implements the NotificationListener interface as a listener. 
 | 
Object | 
DescriptorSupport.clone()
Returns a new Descriptor which is a duplicate of the Descriptor. 
 | 
ModelMBeanAttributeInfo | 
ModelMBeanInfoSupport.getAttribute(String inName)  | 
ModelMBeanAttributeInfo | 
ModelMBeanInfo.getAttribute(String inName)
Returns a ModelMBeanAttributeInfo requested by name. 
 | 
ModelMBeanConstructorInfo | 
ModelMBeanInfoSupport.getConstructor(String inName)
Returns the ModelMBeanConstructorInfo requested by name. 
 | 
Descriptor | 
ModelMBeanInfoSupport.getDescriptor(String inDescriptorName)
Returns a Descriptor requested by name. 
 | 
Descriptor | 
ModelMBeanInfoSupport.getDescriptor(String inDescriptorName,
             String inDescriptorType)  | 
Descriptor | 
ModelMBeanInfo.getDescriptor(String inDescriptorName,
             String inDescriptorType)
Returns a Descriptor requested by name and descriptorType. 
 | 
Descriptor[] | 
ModelMBeanInfoSupport.getDescriptors(String inDescriptorType)  | 
Descriptor[] | 
ModelMBeanInfo.getDescriptors(String inDescriptorType)
Returns a Descriptor array consisting of all
 Descriptors for the ModelMBeanInfo of type inDescriptorType. 
 | 
Object | 
DescriptorSupport.getFieldValue(String fieldName)  | 
Descriptor | 
ModelMBeanInfo.getMBeanDescriptor()
Returns the ModelMBean's descriptor which contains MBean wide
 policies. 
 | 
ModelMBeanNotificationInfo | 
ModelMBeanInfoSupport.getNotification(String inName)  | 
ModelMBeanNotificationInfo | 
ModelMBeanInfo.getNotification(String inName)
Returns a ModelMBeanNotificationInfo requested by name. 
 | 
ModelMBeanOperationInfo | 
ModelMBeanInfoSupport.getOperation(String inName)  | 
ModelMBeanOperationInfo | 
ModelMBeanInfo.getOperation(String inName)
Returns a ModelMBeanOperationInfo requested by name. 
 | 
boolean | 
DescriptorSupport.isValid()
Returns true if all of the fields have legal values given their
 names. 
 | 
void | 
RequiredModelMBean.load()
Instantiates this MBean instance with the data found for
 the MBean in the persistent store. 
 | 
void | 
RequiredModelMBean.removeAttributeChangeNotificationListener(NotificationListener inlistener,
                                         String inAttributeName)  | 
void | 
ModelMBeanNotificationBroadcaster.removeAttributeChangeNotificationListener(NotificationListener listener,
                                         String attributeName)
Removes a listener for attributeChangeNotifications from the RequiredModelMBean. 
 | 
void | 
RequiredModelMBean.sendAttributeChangeNotification(Attribute inOldVal,
                               Attribute inNewVal)  | 
void | 
ModelMBeanNotificationBroadcaster.sendAttributeChangeNotification(Attribute oldValue,
                               Attribute newValue)
Sends an attributeChangeNotification which contains the old value and new value for the
 attribute to the registered AttributeChangeNotification listeners on the ModelMBean. 
 | 
void | 
RequiredModelMBean.sendAttributeChangeNotification(AttributeChangeNotification ntfyObj)  | 
void | 
ModelMBeanNotificationBroadcaster.sendAttributeChangeNotification(AttributeChangeNotification notification)
Sends an attributeChangeNotification which is passed in to
 the registered attributeChangeNotification listeners on the
 ModelMBean. 
 | 
void | 
RequiredModelMBean.sendNotification(Notification ntfyObj)  | 
void | 
ModelMBeanNotificationBroadcaster.sendNotification(Notification ntfyObj)
Sends a Notification which is passed in to the registered
 Notification listeners on the ModelMBean as a
 jmx.modelmbean.generic notification. 
 | 
void | 
RequiredModelMBean.sendNotification(String ntfyText)  | 
void | 
ModelMBeanNotificationBroadcaster.sendNotification(String ntfyText)
Sends a Notification which contains the text string that is passed in
 to the registered Notification listeners on the ModelMBean. 
 | 
void | 
ModelMBeanInfoSupport.setDescriptor(Descriptor inDescriptor,
             String inDescriptorType)  | 
void | 
ModelMBeanInfo.setDescriptor(Descriptor inDescriptor,
             String inDescriptorType)
Sets descriptors in the info array of type inDescriptorType
 for the ModelMBean. 
 | 
void | 
ModelMBeanInfoSupport.setDescriptors(Descriptor[] inDescriptors)  | 
void | 
ModelMBeanInfo.setDescriptors(Descriptor[] inDescriptors)
Adds or replaces descriptors in the ModelMBeanInfo. 
 | 
void | 
DescriptorSupport.setField(String fieldName,
        Object fieldValue)  | 
void | 
DescriptorSupport.setFields(String[] fieldNames,
         Object[] fieldValues)  | 
void | 
RequiredModelMBean.setManagedResource(Object mr,
                  String mr_type)
Sets the instance handle of the object against which to
 execute all methods in this ModelMBean management interface
 (MBeanInfo and Descriptors). 
 | 
void | 
ModelMBean.setManagedResource(Object mr,
                  String mr_type)
Sets the instance handle of the object against which to
 execute all methods in this ModelMBean management interface
 (MBeanInfo and Descriptors). 
 | 
void | 
ModelMBeanInfoSupport.setMBeanDescriptor(Descriptor inMBeanDescriptor)  | 
void | 
ModelMBeanInfo.setMBeanDescriptor(Descriptor inDescriptor)
Sets the ModelMBean's descriptor. 
 | 
void | 
RequiredModelMBean.setModelMBeanInfo(ModelMBeanInfo mbi)
Initializes a ModelMBean object using ModelMBeanInfo passed in. 
 | 
void | 
ModelMBean.setModelMBeanInfo(ModelMBeanInfo inModelMBeanInfo)
Initializes a ModelMBean object using ModelMBeanInfo passed in. 
 | 
void | 
RequiredModelMBean.store()
Captures the current state of this MBean instance and writes
 it out to the persistent store. 
 | 
| Constructor and Description | 
|---|
DescriptorSupport(int initNumFields)
Descriptor constructor. 
 | 
DescriptorSupport(String inStr)
Descriptor constructor taking an XML String. 
 | 
DescriptorSupport(String[] fieldNames,
                 Object[] fieldValues)
Constructor taking field names and field values. 
 | 
RequiredModelMBean()
Constructs an  
RequiredModelMBean with an empty
 ModelMBeanInfo. | 
RequiredModelMBean(ModelMBeanInfo mbi)
Constructs a RequiredModelMBean object using ModelMBeanInfo passed in. 
 | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2012, Oracle and/or its affiliates.  All rights reserved.