javax.management.DynamicMBean |
![]() |
Defines the methods that should be implemented by a Dynamic MBean (MBean that exposes a dynamic management interface).
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Obtain the value of a specific attribute of the Dynamic MBean.
| |||||||||||
Get the values of several attributes of the Dynamic MBean.
| |||||||||||
Provides the exposed attributes and actions of the Dynamic MBean using an MBeanInfo object.
| |||||||||||
Allows an action to be invoked on the Dynamic MBean.
| |||||||||||
Set the value of a specific attribute of the Dynamic MBean.
| |||||||||||
Sets the values of several attributes of the Dynamic MBean.
|
Obtain the value of a specific attribute of the Dynamic MBean.
attribute | The name of the attribute to be retrieved |
---|
AttributeNotFoundException | |
MBeanException | Wraps a java.lang.Exception thrown by the MBean's getter. |
ReflectionException | Wraps a java.lang.Exception thrown while trying to invoke the getter. |
AttributeNotFoundException |
Get the values of several attributes of the Dynamic MBean.
attributes | A list of the attributes to be retrieved. |
---|
Provides the exposed attributes and actions of the Dynamic MBean using an MBeanInfo object.
MBeanInfo
allowing all attributes and actions
exposed by this Dynamic MBean to be retrieved.
Allows an action to be invoked on the Dynamic MBean.
actionName | The name of the action to be invoked. |
---|---|
params | An array containing the parameters to be set when the action is invoked. |
signature | An array containing the signature of the action. The class objects will be loaded through the same class loader as the one used for loading the MBean on which the action is invoked. |
MBeanException | Wraps a java.lang.Exception thrown by the MBean's invoked method. |
---|---|
ReflectionException | Wraps a java.lang.Exception thrown while trying to invoke the method
|
Set the value of a specific attribute of the Dynamic MBean.
attribute | The identification of the attribute to be set and the value it is to be set to. |
---|
AttributeNotFoundException | |
InvalidAttributeValueException | |
MBeanException | Wraps a java.lang.Exception thrown by the MBean's setter. |
ReflectionException | Wraps a java.lang.Exception thrown while trying to invoke the MBean's setter. |
AttributeNotFoundException | |
InvalidAttributeValueException |
Sets the values of several attributes of the Dynamic MBean.
attributes | A list of attributes: The identification of the attributes to be set and the values they are to be set to. |
---|