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. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMBeanServer
public MBeanServer getMBeanServer(Properties properties)
MBeanServerLookup
MBeanServer
instance.getMBeanServer
in interface MBeanServerLookup
properties
- optional properties (can be null) to configure the MBeanServer instanceCopyright © 2021 JBoss by Red Hat. All rights reserved.