public final class MXWrapper extends Object
Modifier and Type | Field and Description |
---|---|
private static MXServer |
mxserver |
static String |
NO_JMX
Name of the property allowing the use of the A3 runtime without the JMX management
framework.
|
Constructor and Description |
---|
MXWrapper() |
Modifier and Type | Method and Description |
---|---|
static Hashtable |
dumpAttributes(String[] list)
Returns an hashtable containing the values of each JMX attributes described in list.
|
static Hashtable |
dumpAttributes(String[] list,
boolean streamable)
Returns an hashtable containing the values of each JMX attributes described in list.
|
static Object |
getAttribute(String objectName,
String attribute) |
static List<String> |
getAttributeNames(String mBean) |
static String |
objectName(String domain,
String name) |
static Set<String> |
queryNames(String objectName) |
static void |
registerMBean(Object bean,
String fullName) |
static void |
registerMBean(Object bean,
String domain,
String name) |
static void |
setMXServer(MXServer server) |
static void |
unregisterMBean(String fullName) |
static void |
unregisterMBean(String domain,
String name) |
public static final String NO_JMX
private static MXServer mxserver
public static void registerMBean(Object bean, String domain, String name) throws Exception
Exception
public static void registerMBean(Object bean, String fullName) throws Exception
Exception
public static void unregisterMBean(String domain, String name) throws Exception
Exception
public static void unregisterMBean(String fullName) throws Exception
Exception
public static void setMXServer(MXServer server)
public static Object getAttribute(String objectName, String attribute) throws Exception
Exception
public static Set<String> queryNames(String objectName) throws Exception
Exception
public static List<String> getAttributeNames(String mBean) throws Exception
Exception
public static Hashtable dumpAttributes(String[] list)
list
- List of attributes (may contain wildcards)public static Hashtable dumpAttributes(String[] list, boolean streamable)
list
- List of attributes (may contain wildcards)streamable
- If true adds only streamable values (see StreamUtil class).Copyright © 2019 ScalAgent D.T.. All rights reserved.