org.mc4j.ems.impl.jmx.connection.support.providers
Class InternalVMProvider

java.lang.Object
  extended by org.mc4j.ems.impl.jmx.connection.support.providers.AbstractConnectionProvider
      extended by org.mc4j.ems.impl.jmx.connection.support.providers.InternalVMProvider

public class InternalVMProvider
extends AbstractConnectionProvider

Connect to the platform mbean server in the VM that EMS is running in.

Author:
Greg Hinkle

Field Summary
protected  javax.management.MBeanServer server
           
 
Fields inherited from class org.mc4j.ems.impl.jmx.connection.support.providers.AbstractConnectionProvider
connectionFailure, connectionListeners, connectionRoundTrips, connectionSettings, existingConnection
 
Constructor Summary
InternalVMProvider()
           
 
Method Summary
protected  void doConnect()
           
 javax.management.MBeanServer getMBeanServer()
           
 
Methods inherited from class org.mc4j.ems.impl.jmx.connection.support.providers.AbstractConnectionProvider
addConnectionListener, compareTo, connect, disconnect, doDisconnect, getConnectionSettings, getExistingConnection, getFailures, getMEJB, getRoundTrips, getStatsProxy, initialize, isConnected, removeConnectionListener, setConnected, setStatsProxy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

server

protected javax.management.MBeanServer server
Constructor Detail

InternalVMProvider

public InternalVMProvider()
Method Detail

getMBeanServer

public javax.management.MBeanServer getMBeanServer()
Specified by:
getMBeanServer in class AbstractConnectionProvider

doConnect

protected void doConnect()
                  throws java.lang.Exception
Specified by:
doConnect in class AbstractConnectionProvider
Throws:
java.lang.Exception