org.jboss.cache.jmx
Class PlatformMBeanServerRegistration
java.lang.Object
org.jboss.cache.jmx.PlatformMBeanServerRegistration
public class PlatformMBeanServerRegistration
- extends Object
If Configuration.getExposeManagementStatistics()
is true, then class will register
all the MBeans from the ConfigurationRegistry to the pltform MBean server.
Note: to enable platform MBeanServer the following system property should be passet to the JVM:
-Dcom.sun.management.jmxremote.
- Since:
- 3.0
- Author:
- Mircea.Markus@jboss.com
- See Also:
ManagementFactory.getPlatformMBeanServer()
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlatformMBeanServerRegistration
public PlatformMBeanServerRegistration()
initialize
public void initialize(CacheSPI cache)
registerToPlatformMBeanServer
public void registerToPlatformMBeanServer()
- Here is where the registration is being performed.
unregisterMBeans
public void unregisterMBeans()
- Unregister when the cache is being stoped.
Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.