# Uses of Class
javax.management.RuntimeOperationsException

Packages that use RuntimeOperationsException
Package
Description
javax.management
Provides the core classes for the Java Management Extensions.
javax.management.modelmbean
Provides the definition of the ModelMBean classes.

## Uses of RuntimeOperationsException in javax.management

Methods in javax.management that throw RuntimeOperationsException
Modifier and Type
Method
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.
`final 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.
`final 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.

## Uses of RuntimeOperationsException in javax.management.modelmbean

Methods in javax.management.modelmbean that throw RuntimeOperationsException
Modifier and Type
Method
Description
`void`
ModelMBeanNotificationBroadcaster.`addAttributeChangeNotificationListener(NotificationListener listener, String attributeName, Object handback)`
Registers an object which implements the NotificationListener interface as a listener.
`void`
RequiredModelMBean.`addAttributeChangeNotificationListener(NotificationListener inlistener, String inAttributeName, Object inhandback)`
`Object`
DescriptorSupport.`clone()`
Returns a new Descriptor which is a duplicate of the Descriptor.
`ModelMBeanAttributeInfo`
ModelMBeanInfo.`getAttribute(String inName)`
Returns a ModelMBeanAttributeInfo requested by name.
`ModelMBeanAttributeInfo`
ModelMBeanInfoSupport.`getAttribute(String inName)`
`ModelMBeanConstructorInfo`
ModelMBeanInfoSupport.`getConstructor(String inName)`
Returns the ModelMBeanConstructorInfo requested by name.
`Descriptor`
ModelMBeanInfo.`getDescriptor(String inDescriptorName, String inDescriptorType)`
Returns a Descriptor requested by name and descriptorType.
`Descriptor`
ModelMBeanInfoSupport.`getDescriptor(String inDescriptorName)`
Returns a Descriptor requested by name.
`Descriptor`
ModelMBeanInfoSupport.`getDescriptor(String inDescriptorName, String inDescriptorType)`
`Descriptor[]`
ModelMBeanInfo.`getDescriptors(String inDescriptorType)`
Returns a Descriptor array consisting of all Descriptors for the ModelMBeanInfo of type inDescriptorType.
`Descriptor[]`
ModelMBeanInfoSupport.`getDescriptors(String inDescriptorType)`
`Object`
DescriptorSupport.`getFieldValue(String fieldName)`
`Descriptor`
ModelMBeanInfo.`getMBeanDescriptor()`
Returns the ModelMBean's descriptor which contains MBean wide policies.
`ModelMBeanNotificationInfo`
ModelMBeanInfo.`getNotification(String inName)`
Returns a ModelMBeanNotificationInfo requested by name.
`ModelMBeanNotificationInfo`
ModelMBeanInfoSupport.`getNotification(String inName)`
`ModelMBeanOperationInfo`
ModelMBeanInfo.`getOperation(String inName)`
Returns a ModelMBeanOperationInfo requested by name.
`ModelMBeanOperationInfo`
ModelMBeanInfoSupport.`getOperation(String inName)`
`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`
ModelMBeanNotificationBroadcaster.`removeAttributeChangeNotificationListener(NotificationListener listener, String attributeName)`
Removes a listener for attributeChangeNotifications from the RequiredModelMBean.
`void`
RequiredModelMBean.`removeAttributeChangeNotificationListener(NotificationListener inlistener, String inAttributeName)`
`void`
ModelMBeanNotificationBroadcaster.`sendAttributeChangeNotification(AttributeChangeNotification notification)`
Sends an attributeChangeNotification which is passed in to the registered attributeChangeNotification listeners on the ModelMBean.
`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`
RequiredModelMBean.`sendAttributeChangeNotification(Attribute inOldVal, Attribute inNewVal)`
`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`
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`
RequiredModelMBean.`sendNotification(Notification ntfyObj)`
`void`
ModelMBeanInfo.`setDescriptor(Descriptor inDescriptor, String inDescriptorType)`
Sets descriptors in the info array of type inDescriptorType for the ModelMBean.
`void`
ModelMBeanInfoSupport.`setDescriptor(Descriptor inDescriptor, String inDescriptorType)`
`void`
ModelMBeanInfo.`setDescriptors(Descriptor[] inDescriptors)`
Adds or replaces descriptors in the ModelMBeanInfo.
`void`
ModelMBeanInfoSupport.`setDescriptors(Descriptor[] inDescriptors)`
`void`
DescriptorSupport.`setField(String fieldName, Object fieldValue)`
`void`
DescriptorSupport.`setFields(String[] fieldNames, Object[] fieldValues)`
`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`
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`
ModelMBeanInfo.`setMBeanDescriptor(Descriptor inDescriptor)`
Sets the ModelMBean's descriptor.
`void`
ModelMBeanInfoSupport.`setMBeanDescriptor(Descriptor inMBeanDescriptor)`
`void`
ModelMBean.`setModelMBeanInfo(ModelMBeanInfo inModelMBeanInfo)`
Initializes a ModelMBean object using ModelMBeanInfo passed in.
`void`
RequiredModelMBean.`setModelMBeanInfo(ModelMBeanInfo mbi)`
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.
Constructors in javax.management.modelmbean that throw RuntimeOperationsException
Modifier
Constructor
Description
``
`DescriptorSupport(int initNumFields)`
Descriptor constructor.
``
`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.