com.bigdata.jmx
Class JMXLog4jMBeanUtil
java.lang.Object
com.bigdata.jmx.JMXLog4jMBeanUtil
public class JMXLog4jMBeanUtil
- extends Object
Utility method to register a log4j MBean.
Note: This class is based on ManagedUtil in the Apache zookeeper project and
is therefore under the Apache License.
- Version:
- $Id: JMXLog4jMBeanUtil.java 2265 2009-10-26 12:51:06Z thompsonbry $
- Author:
- Bryan Thompson
- See Also:
JMXTest
|
Field Summary |
protected static org.apache.log4j.Logger |
log
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static final org.apache.log4j.Logger log
JMXLog4jMBeanUtil
public JMXLog4jMBeanUtil()
registerLog4jMBeans
public static void registerLog4jMBeans()
throws JMException
- Register the log4j JMX mbeans.
- Throws:
JMException - if registration fails- See Also:
jmx/package-summary.html
Copyright © 2006-2009 SYSTAP, LLC. All Rights Reserved.