Package com.jalios.jcms
Class JMXUtil
- java.lang.Object
-
- com.jalios.jcms.JMXUtil
-
public class JMXUtil extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CLUSTER_COMPONENT_PROP
static java.lang.String
COMPONENT_PROP
static java.lang.String
INSTANCE_PROP
static java.lang.String
JMX_DOMAIN
-
Constructor Summary
Constructors Constructor Description JMXUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static javax.management.ObjectName
createObjectName(java.util.LinkedHashMap<java.lang.String,java.lang.String> typeHierarchyMap)
static void
registerMBean(javax.management.ObjectName objectName, java.lang.Object mbean)
-
-
-
Field Detail
-
JMX_DOMAIN
public static final java.lang.String JMX_DOMAIN
- See Also:
- Constant Field Values
-
INSTANCE_PROP
public static final java.lang.String INSTANCE_PROP
- See Also:
- Constant Field Values
-
COMPONENT_PROP
public static final java.lang.String COMPONENT_PROP
- See Also:
- Constant Field Values
-
CLUSTER_COMPONENT_PROP
public static final java.lang.String CLUSTER_COMPONENT_PROP
- See Also:
- Constant Field Values
-
-
Method Detail
-
createObjectName
public static javax.management.ObjectName createObjectName(java.util.LinkedHashMap<java.lang.String,java.lang.String> typeHierarchyMap) throws javax.management.MalformedObjectNameException
- Throws:
javax.management.MalformedObjectNameException
-
registerMBean
public static void registerMBean(javax.management.ObjectName objectName, java.lang.Object mbean) throws javax.management.InstanceAlreadyExistsException, javax.management.MBeanRegistrationException, javax.management.NotCompliantMBeanException, javax.management.IntrospectionException, java.lang.SecurityException
- Throws:
javax.management.InstanceAlreadyExistsException
javax.management.MBeanRegistrationException
javax.management.NotCompliantMBeanException
javax.management.IntrospectionException
java.lang.SecurityException
-
-