Package ch.qos.logback.classic.jmx

Examples of ch.qos.logback.classic.jmx.Configurator


  public void end(InterpretationContext ec, String name) throws ActionException {

  }

  public void register() {
    ConfiguratorMBean configuratorMBean = new Configurator((LoggerContext) context);

    MBeanServer mbs = ManagementFactory.getPlatformMBeanServer();
    try {
      ObjectName on = new ObjectName(DOMAIN + ":Name=" + context.getName()
          + ",Type=" + configuratorMBean.getClass().getName());

      // StandardMBean mbean = new StandardMBean(configuratorMBean,
      // ConfiguratorMBean.class);
      if (mbs.isRegistered(on)) {
        mbs.unregisterMBean(on);
View Full Code Here

TOP

Related Classes of ch.qos.logback.classic.jmx.Configurator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.