org.infinispan.jmx
Class CacheJmxRegistration
java.lang.Object
org.infinispan.jmx.AbstractJmxRegistration
org.infinispan.jmx.CacheJmxRegistration
public class CacheJmxRegistration
- extends AbstractJmxRegistration
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, Galder ZamarreƱo
- See Also:
ManagementFactory.getPlatformMBeanServer()
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CACHE_JMX_GROUP
public static final String CACHE_JMX_GROUP
- See Also:
- Constant Field Values
CacheJmxRegistration
public CacheJmxRegistration()
initialize
public void initialize(Cache cache,
GlobalConfiguration globalConfig)
start
public void start()
- Here is where the registration is being performed.
stop
public void stop()
- Unregister when the cache is being stoped.
unregisterCacheMBean
public void unregisterCacheMBean()
buildRegistrar
protected ComponentsJmxRegistration buildRegistrar(Set<AbstractComponentRegistry.Component> components)
- Specified by:
buildRegistrar
in class AbstractJmxRegistration
updateDomain
protected void updateDomain(ComponentsJmxRegistration registrar,
GlobalComponentRegistry componentRegistry,
MBeanServer mBeanServer,
String groupName)
getNonCacheComponents
protected Set<AbstractComponentRegistry.Component> getNonCacheComponents(Set<AbstractComponentRegistry.Component> components)
Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.