| java.lang.Object com.caucho.jmx.Jmx
Jmx | public class Jmx (Code) | | Static convenience methods.
|
Constructor Summary | |
public | Jmx() |
Method Summary | |
public static LinkedHashMap<String, String> | copyContextProperties() Returns a copy of the context properties. | public static LinkedHashMap<String, String> | copyContextProperties(ClassLoader loader) Returns a copy of the context properties. | public static void | dequeue(TimerTask job) Dequeues a task. | public static Object | find(String localName) Returns the local manged object. | public static Object | find(ObjectName name) Returns the local manged object. | public static Object | find(ObjectName name, ClassLoader loader) Returns the local manged object. | public static Object | find(ObjectName name, ClassLoader loader, MBeanServer mbeanServer) Returns the local manged object. | public static Object | findGlobal(String localName) Returns the local manged object. | public static Object | findGlobal(ObjectName name) Returns the local manged object. | public static MBeanServer | getContextMBeanServer() Returns the context mbean server. | public static MBeanServer | getGlobalMBeanServer() Returns the global mbean server. | public static AbstractMBeanServer | getMBeanServer() Gets the static mbean server. | public static ObjectName | getObjectName(String name) Returns an ObjectName based on a short name. | public static ObjectName | getObjectName(String domain, Map<String, String> properties) | public static LinkedHashMap<String, String> | parseProperties(String name) Parses a name. | public static void | parseProperties(Map<String, String> properties, String name) Parses a name. | public static ArrayList<Object> | query(ObjectName namePattern) Returns the local manged object. | public static void | queueAbsolute(TimerTask job, long time) Queues a task. | public static void | queueRelative(TimerTask job, long delta) Queues a task. | public static ObjectInstance | register(Object object, String name) Conditionally registers an MBean with the server.
Parameters: object - the object to be registered as an MBean Parameters: name - the name of the mbean. | public static ObjectInstance | register(Object object, Map<String, String> properties) Conditionally registers an MBean with the server.
Parameters: object - the object to be registered as an MBean Parameters: name - the name of the mbean. | public static ObjectInstance | register(Object object, ObjectName name) Registers an MBean with the server.
Parameters: object - the object to be registered as an MBean Parameters: name - the name of the mbean. | public static ObjectInstance | register(Object object, ObjectName name, ClassLoader loader) Registers an MBean with the server.
Parameters: object - the object to be registered as an MBean Parameters: name - the name of the mbean. | public static ObjectInstance | register(Object object, String name, Class api) Registers an MBean with the server. | public static ObjectInstance | register(Object object, ObjectName name, Class api) Registers an MBean with the server. | public static void | setContextProperties(Map<String, String> properties) Sets the context properties. | public static void | setContextProperties(Map<String, String> properties, ClassLoader loader) Sets the context properties. | static void | setMBeanServer(EnvironmentMBeanServer server) Sets the server. | public static void | unregister(ObjectName name) Unregisters an MBean with the server. | public static void | unregister(ObjectName name, ClassLoader loader) Unregisters an MBean with the server. | public static void | unregister(String name) Conditionally registers an MBean with the server.
Parameters: object - the object to be registered as an MBean Parameters: name - the name of the mbean. |
getContextMBeanServer | public static MBeanServer getContextMBeanServer()(Code) | | Returns the context mbean server.
|
getGlobalMBeanServer | public static MBeanServer getGlobalMBeanServer()(Code) | | Returns the global mbean server.
|
queueAbsolute | public static void queueAbsolute(TimerTask job, long time)(Code) | | Queues a task.
|
queueRelative | public static void queueRelative(TimerTask job, long delta)(Code) | | Queues a task.
|
setContextProperties | public static void setContextProperties(Map<String, String> properties)(Code) | | Sets the context properties.
|
|
|