Interface JmxServerConnectionWrapper
-
- All Superinterfaces:
AutoCloseable,Closeable
- All Known Implementing Classes:
DefaultConnectionWrapper
public interface JmxServerConnectionWrapper extends Closeable
Wraps the established
MBeanServerConnection.Basically this makes closing an established connection easier, due to the try-resource Java 7 language feature.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()MBeanServerConnectiongetMBeanServerConnection()
-
-
-
Method Detail
-
getMBeanServerConnection
MBeanServerConnection getMBeanServerConnection()
-
close
void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
-