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 Details

    • JmxUtil

      public JmxUtil()
  • Method Details

    • registerBean

      public static void registerBean(String name, Object value)
      Exposes an object as an MBean.
      Parameters:
      name - the JNDI to expose the bean as
      value - the bean to be exposed
    • isPossibleToExposeBeans

      public static boolean isPossibleToExposeBeans()
    • unregisterBean

      public static void unregisterBean(String name)