Package com.atlassian.confluence.jmx
Class JmxUtil
java.lang.Object
com.atlassian.confluence.jmx.JmxUtil
Exposes various utility methods to simplify the process of registering / ungregistering MBeans.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
static void
registerBean
(String name, Object value) Exposes an object as an MBean.static void
unregisterBean
(String name)
-
Constructor Details
-
JmxUtil
public JmxUtil()
-
-
Method Details
-
registerBean
Exposes an object as an MBean.- Parameters:
name
- the JNDI to expose the bean asvalue
- the bean to be exposed
-
isPossibleToExposeBeans
public static boolean isPossibleToExposeBeans() -
unregisterBean
-