Class MBeanServerFactory


  • public final class MBeanServerFactory
    extends java.lang.Object

    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 Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static MBeanServer getMBeanServer()
      Gets the MBeanServer for registering or unregistering MBeans.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getMBeanServer

        public static MBeanServer getMBeanServer()
        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.