Class DefaultConnectionWrapper
- java.lang.Object
-
- org.opennms.netmgt.jmx.impl.connection.connectors.DefaultConnectionWrapper
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,JmxServerConnectionWrapper
public class DefaultConnectionWrapper extends Object implements JmxServerConnectionWrapper
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
DefaultConnectionWrapper(JMXConnector connector, MBeanServerConnection connection)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
MBeanServerConnection
getMBeanServerConnection()
-
-
-
Constructor Detail
-
DefaultConnectionWrapper
protected DefaultConnectionWrapper(JMXConnector connector, MBeanServerConnection connection)
-
-
Method Detail
-
getMBeanServerConnection
public MBeanServerConnection getMBeanServerConnection()
- Specified by:
getMBeanServerConnection
in interfaceJmxServerConnectionWrapper
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceJmxServerConnectionWrapper
-
-