Package com.atlassian.confluence.jmx
Class JmxUtil
- java.lang.Object
-
- com.atlassian.confluence.jmx.JmxUtil
-
public class JmxUtil extends Object
Exposes various utility methods to simplify the process of registering / ungregistering MBeans.
-
-
Constructor Summary
Constructors Constructor Description JmxUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isPossibleToExposeBeans()
static void
registerBean(String name, Object value)
Exposes an object as an MBean.static void
unregisterBean(String name)
-
-
-
Method Detail
-
registerBean
public static void registerBean(String name, Object value)
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
public static void unregisterBean(String name)
-
-