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 String
CACHE_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 ComponentsJmxRegistration
buildRegistrar()
void
registerMBean(Object managedComponent)
void
start()
On start, the mbeans are registered.void
stop()
On stop, the mbeans are unregistered.void
unregisterCacheMBean(String cacheName, String cacheModeString)
protected void
updateDomain(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:
buildRegistrar
in classAbstractJmxRegistration
-
updateDomain
protected void updateDomain(ComponentsJmxRegistration registrar, MBeanServer mBeanServer, String groupName)
-
registerMBean
public void registerMBean(Object managedComponent)
-
-