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.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. -
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.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.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[]
ModelMBeanInfo. getDescriptors(String inDescriptorType)
Returns a Descriptor array consisting of all Descriptors for the ModelMBeanInfo of type inDescriptorType.Descriptor
ModelMBeanInfo. getMBeanDescriptor()
Returns the ModelMBean's descriptor which contains MBean wide policies.ModelMBeanNotificationInfo
ModelMBeanInfo. getNotification(String inName)
Returns a ModelMBeanNotificationInfo requested by name.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
ModelMBeanNotificationBroadcaster. removeAttributeChangeNotificationListener(NotificationListener listener, String attributeName)
Removes a listener for attributeChangeNotifications from the RequiredModelMBean.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
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
ModelMBeanInfo. setDescriptor(Descriptor inDescriptor, String inDescriptorType)
Sets descriptors in the info array of type inDescriptorType for the ModelMBean.void
ModelMBeanInfo. setDescriptors(Descriptor[] inDescriptors)
Adds or replaces descriptors in the ModelMBeanInfo.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
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 Constructor 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 anRequiredModelMBean
with an empty ModelMBeanInfo.RequiredModelMBean(ModelMBeanInfo mbi)
Constructs a RequiredModelMBean object using ModelMBeanInfo passed in.
-