Interface JmxServerConnectionWrapper

  • All Superinterfaces:
    java.lang.AutoCloseable, java.io.Closeable
    All Known Implementing Classes:
    DefaultConnectionWrapper

    public interface JmxServerConnectionWrapper
    extends java.io.Closeable

    Wraps the established MBeanServerConnection.

    Basically this makes closing an established connection easier, due to the try-resource Java 7 language feature.

    • Method Detail

      • getMBeanServerConnection

        javax.management.MBeanServerConnection getMBeanServerConnection()
      • close

        void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable