Uses of Class
javax.management.RuntimeOperationsException
Package
Description
Provides the core classes for the Java Management Extensions.
Provides the definition of the ModelMBean classes.
-
Uses of RuntimeOperationsException in javax.management
Modifier and TypeMethodDescriptionDescriptor.clone()
Returns a descriptor which is equal to this descriptor.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
Sets the value for a specific field name.final void
This operation is unsupported since this class is immutable.void
Sets all fields in the field names array to the new value with the same index in the field values array.final void
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
Modifier and TypeMethodDescriptionvoid
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) DescriptorSupport.clone()
Returns a new Descriptor which is a duplicate of the Descriptor.ModelMBeanInfo.getAttribute
(String inName) Returns a ModelMBeanAttributeInfo requested by name.ModelMBeanInfoSupport.getAttribute
(String inName) ModelMBeanInfoSupport.getConstructor
(String inName) Returns the ModelMBeanConstructorInfo requested by name.ModelMBeanInfo.getDescriptor
(String inDescriptorName, String inDescriptorType) Returns a Descriptor requested by name and descriptorType.ModelMBeanInfoSupport.getDescriptor
(String inDescriptorName) Returns a Descriptor requested by name.ModelMBeanInfoSupport.getDescriptor
(String inDescriptorName, String inDescriptorType) ModelMBeanInfo.getDescriptors
(String inDescriptorType) Returns a Descriptor array consisting of all Descriptors for the ModelMBeanInfo of type inDescriptorType.ModelMBeanInfoSupport.getDescriptors
(String inDescriptorType) DescriptorSupport.getFieldValue
(String fieldName) ModelMBeanInfo.getMBeanDescriptor()
Returns the ModelMBean's descriptor which contains MBean wide policies.ModelMBeanInfo.getNotification
(String inName) Returns a ModelMBeanNotificationInfo requested by name.ModelMBeanInfoSupport.getNotification
(String inName) ModelMBeanInfo.getOperation
(String inName) Returns a ModelMBeanOperationInfo requested by name.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
void
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.ModifierConstructorDescriptionDescriptorSupport
(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.Constructs anRequiredModelMBean
with an empty ModelMBeanInfo.Constructs a RequiredModelMBean object using ModelMBeanInfo passed in.