Package org.infinispan.commons.jmx
Class PlatformMBeanServerLookup
- java.lang.Object
-
- org.infinispan.commons.jmx.PlatformMBeanServerLookup
-
- All Implemented Interfaces:
MBeanServerLookup
public class PlatformMBeanServerLookup extends Object implements MBeanServerLookup
Default implementation forMBeanServerLookup
, 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
-
-
Constructor Summary
Constructors Constructor Description PlatformMBeanServerLookup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MBeanServer
getMBeanServer(Properties properties)
Retrieves anMBeanServer
instance.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.infinispan.commons.jmx.MBeanServerLookup
getMBeanServer
-
-
-
-
Method Detail
-
getMBeanServer
public MBeanServer getMBeanServer(Properties properties)
Description copied from interface:MBeanServerLookup
Retrieves anMBeanServer
instance.- Specified by:
getMBeanServer
in interfaceMBeanServerLookup
- Parameters:
properties
- properties to configure the MBeanServer instance- Returns:
- an MBeanServer instance
-
-