org.opennms.protocols.jmx.connectors
Class MX4JConnectionWrapper

java.lang.Object
  extended by org.opennms.protocols.jmx.connectors.MX4JConnectionWrapper
All Implemented Interfaces:
ConnectionWrapper

public class MX4JConnectionWrapper
extends Object
implements ConnectionWrapper


Constructor Summary
MX4JConnectionWrapper(JMXConnector connector, MBeanServerConnection connection)
           
 
Method Summary
 void close()
           
 MBeanServerConnection getMBeanServer()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MX4JConnectionWrapper

public MX4JConnectionWrapper(JMXConnector connector,
                             MBeanServerConnection connection)
Method Detail

getMBeanServer

public MBeanServerConnection getMBeanServer()
Specified by:
getMBeanServer in interface ConnectionWrapper
Returns:
Returns the connection.

close

public void close()
Specified by:
close in interface ConnectionWrapper


Copyright © 2009. All Rights Reserved.