| java.lang.Object org.objectweb.jonas.jmx.JonasManagementRepr
JonasManagementRepr | public class JonasManagementRepr (Code) | | Wraper class. Apply the management operations on the ManagementRep instance.
author: Adriana Danes |
Method Summary | |
public static void | addServerRepr(String serverName, ManagementRepr repr) | public static Object | getAttribute(ObjectName on, String attribute, String serverName) | public static Object | getAttributes(ObjectName on, String attribute, String serverName) | public static Context | getContext(String serverName) | public static MBeanInfo | getMBeanInfo(ObjectName name, String serverName) | public static ManagementRepr | getServerRepr(String serverName) | public static Object | invoke(ObjectName on, String operation, Object[] param, String[] signature, String serverName) | public static boolean | isRegistered(ObjectName on, String serverName) | public static boolean | isServerRepr(String serverName) | public static boolean | noServerRepr() | public static java.util.Set | queryNames(ObjectName on, String serverName) | public static void | setAttribute(ObjectName on, String attribute, Object value, String serverName) |
getAttribute | public static Object getAttribute(ObjectName on, String attribute, String serverName) throws ManagementException(Code) | | Parameters: on - The ObjectName of the MBean from which the attribute is to be retrieved. Parameters: attribute - A String specifying the name of the attribute to be retrieve. Parameters: serverName - The server name The value of the attribute. |
getAttributes | public static Object getAttributes(ObjectName on, String attribute, String serverName) throws ManagementException(Code) | | Parameters: on - The ObjectName of the MBean from which the attribute is to be retrieved. Parameters: attribute - A String specifying the name of the attribute to be retrieve. Parameters: serverName - The server name The value of the attribute. |
getMBeanInfo | public static MBeanInfo getMBeanInfo(ObjectName name, String serverName) throws ManagementException(Code) | | An instance of MBeanInfo allowing the retrieval of allattributes and operations of this MBean. Parameters: name - MBean's ObjectName Parameters: serverName - The server name |
isRegistered | public static boolean isRegistered(ObjectName on, String serverName) throws ManagementException(Code) | | True if the MBean is already registered in the MBean server, false otherwise or if an exception is catched. Parameters: on - ObjectName of the MBean we are looking for Parameters: serverName - The server name |
isServerRepr | public static boolean isServerRepr(String serverName)(Code) | | |
noServerRepr | public static boolean noServerRepr()(Code) | | |
setAttribute | public static void setAttribute(ObjectName on, String attribute, Object value, String serverName) throws ManagementException(Code) | | Parameters: on - The ObjectName of the MBean within which the attribute is to be set. Parameters: serverName - The server name Parameters: attribute - A String specifying the name of the attribute to be retrieve. Parameters: value - The value to set to the attribute. |
|
|