org.infinispan.jmx
Class CacheManagerJmxRegistration

java.lang.Object
  extended by org.infinispan.jmx.AbstractJmxRegistration
      extended by 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
static String CACHE_MANAGER_JMX_GROUP
           
 
Constructor Summary
CacheManagerJmxRegistration()
           
 
Method Summary
protected  ComponentsJmxRegistration buildRegistrar(Set<AbstractComponentRegistry.Component> components)
           
 void init(GlobalComponentRegistry registry, GlobalConfiguration configuration)
           
 void start()
          On start, the mbeans are registered.
 void stop()
          On stop, the mbeans are unregistered.
protected  void updateDomain(ComponentsJmxRegistration registrar, MBeanServer mBeanServer, String groupName)
           
 
Methods inherited from class org.infinispan.jmx.AbstractJmxRegistration
registerMBeans, unregisterMBeans
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CACHE_MANAGER_JMX_GROUP

public static final String CACHE_MANAGER_JMX_GROUP
See Also:
Constant Field Values
Constructor Detail

CacheManagerJmxRegistration

public CacheManagerJmxRegistration()
Method Detail

init

public void init(GlobalComponentRegistry registry,
                 GlobalConfiguration configuration)

start

public void start()
On start, the mbeans are registered.


stop

public void stop()
On stop, the mbeans are unregistered.


buildRegistrar

protected ComponentsJmxRegistration buildRegistrar(Set<AbstractComponentRegistry.Component> components)
Specified by:
buildRegistrar in class AbstractJmxRegistration

updateDomain

protected void updateDomain(ComponentsJmxRegistration registrar,
                            MBeanServer mBeanServer,
                            String groupName)

-->

Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.