org.infinispan.jmx
Class CacheJmxRegistration
java.lang.Object
org.infinispan.jmx.CacheJmxRegistration
public class CacheJmxRegistration
- extends Object
If Configuration.isExposeJmxStatistics()
is true, then class will register all the MBeans from cache local's
ConfigurationRegistry to the MBean server.
- Since:
- 4.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 |
CacheJmxRegistration
public CacheJmxRegistration()
initialize
public void initialize(AdvancedCache cache)
registerToMBeanServer
public void registerToMBeanServer()
- 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.