Class PlatformMBeanServerLookup

  • All Implemented Interfaces:
    MBeanServerLookup
    Direct Known Subclasses:
    PlatformMBeanServerLookup

    public class PlatformMBeanServerLookup
    extends java.lang.Object
    implements MBeanServerLookup
    Default implementation for MBeanServerLookup, will return the platform MBean server.

    Note: to enable platform MBeanServer the following system property should be passed to the Sun JVM: -Dcom.sun.management.jmxremote.

    Since:
    4.0
    Author:
    Mircea.Markus@jboss.com
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.management.MBeanServer getMBeanServer​(java.util.Properties properties)
      Retrieves an MBeanServer instance.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PlatformMBeanServerLookup

        public PlatformMBeanServerLookup()
    • Method Detail

      • getMBeanServer

        public javax.management.MBeanServer getMBeanServer​(java.util.Properties properties)
        Description copied from interface: MBeanServerLookup
        Retrieves an MBeanServer instance.
        Specified by:
        getMBeanServer in interface MBeanServerLookup
        Parameters:
        properties - optional properties (can be null) to configure the MBeanServer instance
        Returns:
        an MBeanServer instance