org.mc4j.ems.impl.jmx.connection.support.providers.local
Class LocalVMConnector
java.lang.Object
org.mc4j.ems.impl.jmx.connection.support.providers.local.LocalVMConnector
public class LocalVMConnector
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocalVMConnector
public LocalVMConnector()
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception
getMBeanServer
public javax.management.MBeanServer getMBeanServer()
doConnect
protected void doConnect()
throws java.lang.Exception
- Throws:
java.lang.Exception
getAllVirtualMachines
public static java.util.Map<java.lang.Integer,LocalVirtualMachine> getAllVirtualMachines()
getAllMonitorableVirtualMachines
public static java.util.Map<java.lang.Integer,LocalVirtualMachine> getAllMonitorableVirtualMachines()
startManagementAgent
public static void startManagementAgent(LocalVirtualMachine lvm)
throws java.io.IOException
- Throws:
java.io.IOException