Examples of KernelMXBean


Examples of com.sun.sgs.management.KernelMXBean

        JMXConnector jmxc = JMXConnectorFactory.connect(url, null);
        MBeanServerConnection mbsc = jmxc.getMBeanServerConnection();

        // call the requestShutdown() interface on the server
        ObjectName name = new ObjectName(KernelMXBean.MXBEAN_NAME);
        KernelMXBean proxy = JMX.newMXBeanProxy(mbsc, name, KernelMXBean.class);
        proxy.requestShutdown();
    }
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.