Examples of MonitoringJmx


Examples of org.drift.tracker.jmx.MonitoringJmx

public class JmxUtils {
    public static void register() {
        MBeanServer mbeanServer = ManagementFactory.getPlatformMBeanServer();

        try {
            mbeanServer.registerMBean(new MonitoringJmx(), new ObjectName("tracker:service=Monitoring"));
        } catch (Exception e) {
            throw new RuntimeException(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.