Uses of Class
javax.management.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 ObjectDescriptor. clone()Returns a descriptor which is equal to this descriptor.ObjectDescriptor. getFieldValue(String fieldName)Returns the value for a specific field name, or null if no value is present for that name.booleanDescriptor. isValid()Returns true if all of the fields have legal values given their names.voidPersistentMBean. load()Instantiates thisMBean instance with the data found for the MBean in the persistent store.voidDescriptor. setField(String fieldName, Object fieldValue)Sets the value for a specific field name.voidImmutableDescriptor. setField(String fieldName, Object fieldValue)This operation is unsupported since this class is immutable.voidDescriptor. 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.voidImmutableDescriptor. setFields(String[] fieldNames, Object[] fieldValues)This operation is unsupported since this class is immutable.voidPersistentMBean. 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 voidModelMBeanNotificationBroadcaster. addAttributeChangeNotificationListener(NotificationListener listener, String attributeName, Object handback)Registers an object which implements the NotificationListener interface as a listener.ObjectDescriptorSupport. clone()Returns a new Descriptor which is a duplicate of the Descriptor.ModelMBeanAttributeInfoModelMBeanInfo. getAttribute(String inName)Returns a ModelMBeanAttributeInfo requested by name.ModelMBeanConstructorInfoModelMBeanInfoSupport. getConstructor(String inName)Returns the ModelMBeanConstructorInfo requested by name.DescriptorModelMBeanInfo. getDescriptor(String inDescriptorName, String inDescriptorType)Returns a Descriptor requested by name and descriptorType.DescriptorModelMBeanInfoSupport. 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.DescriptorModelMBeanInfo. getMBeanDescriptor()Returns the ModelMBean's descriptor which contains MBean wide policies.ModelMBeanNotificationInfoModelMBeanInfo. getNotification(String inName)Returns a ModelMBeanNotificationInfo requested by name.ModelMBeanOperationInfoModelMBeanInfo. getOperation(String inName)Returns a ModelMBeanOperationInfo requested by name.booleanDescriptorSupport. isValid()Returns true if all of the fields have legal values given their names.voidRequiredModelMBean. load()Instantiates this MBean instance with the data found for the MBean in the persistent store.voidModelMBeanNotificationBroadcaster. removeAttributeChangeNotificationListener(NotificationListener listener, String attributeName)Removes a listener for attributeChangeNotifications from the RequiredModelMBean.voidModelMBeanNotificationBroadcaster. sendAttributeChangeNotification(AttributeChangeNotification notification)Sends an attributeChangeNotification which is passed in to the registered attributeChangeNotification listeners on the ModelMBean.voidModelMBeanNotificationBroadcaster. 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.voidModelMBeanNotificationBroadcaster. sendNotification(String ntfyText)Sends a Notification which contains the text string that is passed in to the registered Notification listeners on the ModelMBean.voidModelMBeanNotificationBroadcaster. sendNotification(Notification ntfyObj)Sends a Notification which is passed in to the registered Notification listeners on the ModelMBean as a jmx.modelmbean.generic notification.voidModelMBeanInfo. setDescriptor(Descriptor inDescriptor, String inDescriptorType)Sets descriptors in the info array of type inDescriptorType for the ModelMBean.voidModelMBeanInfo. setDescriptors(Descriptor[] inDescriptors)Adds or replaces descriptors in the ModelMBeanInfo.voidModelMBean. 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).voidRequiredModelMBean. 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).voidModelMBeanInfo. setMBeanDescriptor(Descriptor inDescriptor)Sets the ModelMBean's descriptor.voidModelMBean. setModelMBeanInfo(ModelMBeanInfo inModelMBeanInfo)Initializes a ModelMBean object using ModelMBeanInfo passed in.voidRequiredModelMBean. setModelMBeanInfo(ModelMBeanInfo mbi)Initializes a ModelMBean object using ModelMBeanInfo passed in.voidRequiredModelMBean. 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 anRequiredModelMBeanwith an empty ModelMBeanInfo.RequiredModelMBean(ModelMBeanInfo mbi)Constructs a RequiredModelMBean object using ModelMBeanInfo passed in.