Package org.infinispan.jmx
Class CacheManagerJmxRegistration
- java.lang.Object
-
- org.infinispan.jmx.AbstractJmxRegistration
-
- org.infinispan.jmx.CacheManagerJmxRegistration
-
public class CacheManagerJmxRegistration extends AbstractJmxRegistration
Registers all the components from global component registry to the mbean server.- Since:
- 4.0
- Author:
- Mircea.Markus@jboss.com, Galder ZamarreƱo
-
-
Field Summary
Fields Modifier and Type Field Description static StringCACHE_MANAGER_JMX_GROUP-
Fields inherited from class org.infinispan.jmx.AbstractJmxRegistration
registrar
-
-
Constructor Summary
Constructors Constructor Description CacheManagerJmxRegistration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ComponentsJmxRegistrationbuildRegistrar()voidregisterMBean(Object managedComponent)voidstart()On start, the mbeans are registered.voidstop()On stop, the mbeans are unregistered.voidunregisterCacheMBean(String cacheName, String cacheModeString)protected voidupdateDomain(ComponentsJmxRegistration registrar, MBeanServer mBeanServer, String groupName)-
Methods inherited from class org.infinispan.jmx.AbstractJmxRegistration
getResourceDMBean, getResourceDMBean, getResourceDMBeansFromComponents, initMBeanServer, unregisterMBeans
-
-
-
-
Field Detail
-
CACHE_MANAGER_JMX_GROUP
public static final String CACHE_MANAGER_JMX_GROUP
- See Also:
- Constant Field Values
-
-
Method Detail
-
start
public void start()
On start, the mbeans are registered.
-
stop
public void stop()
On stop, the mbeans are unregistered.
-
buildRegistrar
protected ComponentsJmxRegistration buildRegistrar()
- Specified by:
buildRegistrarin classAbstractJmxRegistration
-
updateDomain
protected void updateDomain(ComponentsJmxRegistration registrar, MBeanServer mBeanServer, String groupName)
-
registerMBean
public void registerMBean(Object managedComponent)
-
-