Class ManagedUtil


  • public class ManagedUtil
    extends java.lang.Object
    Shared utilities
    • Constructor Summary

      Constructors 
      Constructor Description
      ManagedUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void registerLog4jMBeans()
      Register the log4j JMX mbeans.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ManagedUtil

        public ManagedUtil()
    • Method Detail

      • registerLog4jMBeans

        public static void registerLog4jMBeans()
                                        throws javax.management.JMException
        Register the log4j JMX mbeans. Set system property "zookeeper.jmx.log4j.disable" to true to disable registration.
        Throws:
        javax.management.JMException - if registration fails
        See Also:
        Log4J 1.2 API docs