org.mc4j.ems.impl.jmx.connection.support.providers.local
Class LocalVMConnector

java.lang.Object
  extended by org.mc4j.ems.impl.jmx.connection.support.providers.local.LocalVMConnector

public class LocalVMConnector
extends java.lang.Object


Constructor Summary
LocalVMConnector()
           
 
Method Summary
protected  void doConnect()
           
static java.util.Map<java.lang.Integer,LocalVirtualMachine> getAllMonitorableVirtualMachines()
           
static java.util.Map<java.lang.Integer,LocalVirtualMachine> getAllVirtualMachines()
           
 javax.management.MBeanServer getMBeanServer()
           
static void main(java.lang.String[] args)
           
static void startManagementAgent(LocalVirtualMachine lvm)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalVMConnector

public LocalVMConnector()
Method Detail

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