Class JmxUtil

  • public class JmxUtil
    extends Object
    Exposes various utility methods to simplify the process of registering / ungregistering MBeans.
    • Constructor Detail

      • JmxUtil

        public JmxUtil()
    • Method Detail

      • registerBean

        public static void registerBean​(String name,
                                        Object value)
        Exposes an object as an MBean.
        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)