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 GLOBAL_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, GlobalComponentRegistry componentRegistry, MBeanServer mBeanServer)
           
 
Methods inherited from class org.infinispan.jmx.AbstractJmxRegistration
getJmxDomain, getMBeanServer, registerMBeans, unregisterMBeans
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GLOBAL_JMX_GROUP

public static final String GLOBAL_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,
                            GlobalComponentRegistry componentRegistry,
                            MBeanServer mBeanServer)

Google Analytics

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