| java.lang.Object org.jboss.portal.jems.as.JMX
Method Summary | |
public static boolean | addNotificationListener(MBeanServer server, ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback) | public static ObjectName | extend(ObjectName name, Properties keyProperties) | public static Object | getMBeanProxy(Class clazz, ObjectName name, MBeanServer server) Retrieves the MBeanProxy associated with the given class and name from the specified MBeanServer. | public static Object | getMBeanProxy(Class clazz, String name) Retrieves the MBeanProxy associated with the given class and name from the JBoss microkernel as returned by
MBeanServerLocator.locateJBoss() . | public static boolean | removeNotificationListener(MBeanServer server, ObjectName name, NotificationListener listener) | public static void | safeUnregister(MBeanServer server, ObjectName name) |
OBJECT_NAME_COMPARATOR | public static Comparator OBJECT_NAME_COMPARATOR(Code) | | ObjectName comparator based on canonical name lexicography.
|
getMBeanProxy | public static Object getMBeanProxy(Class clazz, ObjectName name, MBeanServer server)(Code) | | Retrieves the MBeanProxy associated with the given class and name from the specified MBeanServer.
Parameters: clazz - the interface implemented by the MBean which is to be retrieved Parameters: name - the MBean's ObjectName Parameters: server - the MBeanServer from which to retrieve the MBeanProxy a MBeanProxy for the specified MBean if it exists throws: RuntimeException - if the MBean couldn't be retrieved |
|
|