|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines the methods that should be implemented by a Dynamic MBean (MBean that exposes a dynamic management interface).
Method Summary | |
java.lang.Object |
getAttribute(java.lang.String attribute)
Obtains the value of a specific attribute of the Dynamic MBean. |
AttributeList |
getAttributes(java.lang.String[] attributes)
Enables the values of several attributes of the Dynamic MBean. |
MBeanInfo |
getMBeanInfo()
Provides the exposed attributes and actions of the Dynamic MBean using an MBeanInfo object. |
java.lang.Object |
invoke(java.lang.String actionName,
java.lang.Object[] params,
java.lang.String[] signature)
Allows an action to be invoked on the Dynamic MBean. |
void |
setAttribute(Attribute attribute)
Sets the value of a specific attribute of the Dynamic MBean. |
AttributeList |
setAttributes(AttributeList attributes)
Sets the values of several attributes of the Dynamic MBean. |
Method Detail |
public java.lang.Object getAttribute(java.lang.String attribute) throws AttributeNotFoundException, MBeanException, ReflectionException
attribute
- The name of the attribute to be retrievedpublic AttributeList getAttributes(java.lang.String[] attributes)
attributes
- A list of the attributes to be retrieved.public MBeanInfo getMBeanInfo()
public java.lang.Object invoke(java.lang.String actionName, java.lang.Object[] params, java.lang.String[] signature) throws MBeanException, ReflectionException
actionName
- The name of the action to be invoked.params
- An array of 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.public void setAttribute(Attribute attribute) throws AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException
attribute
- The identification of the attribute to be set
and the value it is to be set to.public AttributeList setAttributes(AttributeList attributes)
attributes
- A list of attributes to be set and values
they are to be set to.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |