Class MBeanServerFactory


  • @Deprecated
    public final class MBeanServerFactory
    extends java.lang.Object
    Deprecated.

    This class is NOT part of the public API. It may change at any time without notification.

    This class is used to insulate the rest of the driver from the possibility that JMX is not available, as currently is the case on Android VM.

    Since:
    2.9
    • Method Detail

      • getMBeanServer

        public static MBeanServer getMBeanServer()
        Deprecated.
        Gets the MBeanServer for registering or unregistering MBeans. This returns a no-op server if JMX is not available (for example, in Android).
        Returns:
        the MBean server.