Examples of DandelionRuntime


Examples of com.github.dandelion.core.jmx.DandelionRuntime

    if (configuration.isJmxEnabled()) {
      try {
        MBeanServer mbeanServer = ManagementFactory.getPlatformMBeanServer();
        ObjectName name = new ObjectName("com.github.dandelion", "type", DandelionRuntime.class.getSimpleName());
        if (!mbeanServer.isRegistered(name)) {
          mbeanServer.registerMBean(new DandelionRuntime(this, filterConfig), name);
        }
      }
      catch (final JMException e) {
        LOG.error("An exception occured while registering the DandelionRuntimeMBean", e);
      }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.