| javax.management.DynamicMBean
DynamicMBean | abstract public interface DynamicMBean (Code) | | Defines the methods that should be implemented by a Dynamic MBean
(MBean that exposes a dynamic management interface).
|
Method Summary | |
public Object | getAttribute(String attribute) Obtains the value of a specific attribute of the Dynamic MBean. | public AttributeList | getAttributes(String[] attributes) Enables the values of several attributes of the Dynamic MBean.
Parameters: attributes - A list of the attributes to be retrieved. | public MBeanInfo | getMBeanInfo() Provides the exposed attributes and actions of the Dynamic MBean using
an MBeanInfo object. | public Object | invoke(String actionName, Object[] params, String[] signature) Allows an action to be invoked on the Dynamic MBean.
Parameters: actionName - - The name of the action to be invoked. Parameters: params - - An array containing the parameters to be set whenthe action is invoked. Parameters: signature - - An array containing the signature of the action.The class objects will be loaded through the same classloader as the one used for loading the MBean on whichthe action is invoked. | public void | setAttribute(Attribute attribute) Sets the value of a specific attribute of the Dynamic MBean. | public AttributeList | setAttributes(AttributeList attributes) Sets the values of several attributes of the Dynamic MBean.
Parameters: name - The object name of the MBean within which the attributesare to be set. Parameters: attributes - A list of attributes: The identification of theattributes to be set and the values they are to be set to. |
getAttributes | public AttributeList getAttributes(String[] attributes)(Code) | | Enables the values of several attributes of the Dynamic MBean.
Parameters: attributes - A list of the attributes to be retrieved. The list of attributes retrieved. |
getMBeanInfo | public MBeanInfo getMBeanInfo()(Code) | | Provides the exposed attributes and actions of the Dynamic MBean using
an MBeanInfo object.
An instance of MBeanInfo allowing all attributesand actions exposed by this Dynamic MBean to be retrieved. |
invoke | public Object invoke(String actionName, Object[] params, String[] signature) throws MBeanException, ReflectionException(Code) | | Allows an action to be invoked on the Dynamic MBean.
Parameters: actionName - - The name of the action to be invoked. Parameters: params - - An array containing the parameters to be set whenthe action is invoked. Parameters: signature - - An array containing the signature of the action.The class objects will be loaded through the same classloader as the one used for loading the MBean on whichthe action is invoked. The object returned by the action, which represents the resultof invoking the action on the MBean specified. exception: MBeanException - - Wraps a java.lang.Exception thrown by the MBean's invoked method. exception: ReflectionException - - Wraps a java.lang.Exception thrown while trying to invoke the method |
setAttributes | public AttributeList setAttributes(AttributeList attributes)(Code) | | Sets the values of several attributes of the Dynamic MBean.
Parameters: name - The object name of the MBean within which the attributesare to be set. Parameters: attributes - A list of attributes: The identification of theattributes to be set and the values they are to be set to. The list of attributes that were set, with their new values. |
|
|