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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanstatic voidregisterBean(String name, Object value) Exposes an object as an MBean.static voidunregisterBean(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
-