public class Management extends Object
| Constructor and Description |
|---|
Management() |
| Modifier and Type | Method and Description |
|---|---|
static Object |
getAttribute(ObjectName objName,
String attribute) |
static Object |
getAttribute(String name,
String attribute) |
static Object[] |
getAttributes(ObjectName objName,
String... attributes) |
static Object[] |
getAttributes(String name,
String... attributes) |
static void |
registerMXBean(Object object,
String name) |
static <T> void |
registerMXBean(T object,
Class<T> mxbeanInterface,
String name) |
static Set<ObjectName> |
resolvePattern(String name) |
static void |
unregisterMXBean(String name) |
public static <T> void registerMXBean(T object,
Class<T> mxbeanInterface,
String name)
public static void unregisterMXBean(String name)
public static Object getAttribute(String name, String attribute) throws JMException
JMExceptionpublic static Object getAttribute(ObjectName objName, String attribute) throws JMException
JMExceptionpublic static Object[] getAttributes(String name, String... attributes) throws JMException
JMExceptionpublic static Object[] getAttributes(ObjectName objName, String... attributes) throws JMException
JMExceptionpublic static Set<ObjectName> resolvePattern(String name) throws JMException
JMExceptionCopyright © 2019. All rights reserved.