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

MX4JConnectionWrapper class.

Version:
$Id: $
Author:
ranger

Constructor Summary
MX4JConnectionWrapper(JMXConnector connector, MBeanServerConnection connection)
          Constructor for MX4JConnectionWrapper.
 
Method Summary
 void close()
          close
 MBeanServerConnection getMBeanServer()
          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)

Constructor for MX4JConnectionWrapper.

Parameters:
connector - a JMXConnector object.
connection - a MBeanServerConnection object.
Method Detail

getMBeanServer

public MBeanServerConnection getMBeanServer()

getMBeanServer

Specified by:
getMBeanServer in interface ConnectionWrapper
Returns:
Returns the connection.

close

public void close()

close

Specified by:
close in interface ConnectionWrapper


Copyright © 2011. All Rights Reserved.