Package org.infinispan.commons.jmx
Class PlatformMBeanServerLookup
java.lang.Object
org.infinispan.commons.jmx.PlatformMBeanServerLookup
- All Implemented Interfaces:
MBeanServerLookup
- Direct Known Subclasses:
PlatformMBeanServerLookup
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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetMBeanServer(Properties properties) Retrieves anMBeanServerinstance.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.infinispan.commons.jmx.MBeanServerLookup
getMBeanServer
-
Constructor Details
-
PlatformMBeanServerLookup
public PlatformMBeanServerLookup()
-
-
Method Details
-
getMBeanServer
Description copied from interface:MBeanServerLookupRetrieves anMBeanServerinstance.- Specified by:
getMBeanServerin interfaceMBeanServerLookup- Parameters:
properties- optional properties (can be null) to configure the MBeanServer instance- Returns:
- an MBeanServer instance
-