public class PlatformMBeanServerLookup extends Object implements MBeanServerLookup
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.Constructor and Description |
---|
PlatformMBeanServerLookup() |
Modifier and Type | Method and Description |
---|---|
MBeanServer |
getMBeanServer(Properties properties)
Retrieves an
MBeanServer instance. |
public MBeanServer getMBeanServer(Properties properties)
MBeanServerLookup
MBeanServer
instance.getMBeanServer
in interface MBeanServerLookup
properties
- properties to configure the MBeanServer instanceCopyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.