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 void
close()
MBeanServerConnection
getMBeanServerConnection()
-
-
-
Method Detail
-
getMBeanServerConnection
MBeanServerConnection getMBeanServerConnection()
-
close
void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
-