org.infinispan.jmx
Class CacheJmxRegistration

java.lang.Object
  extended by org.infinispan.jmx.CacheJmxRegistration

public class CacheJmxRegistration
extends Object

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
See Also:
ManagementFactory.getPlatformMBeanServer()

Constructor Summary
CacheJmxRegistration()
           
 
Method Summary
 void initialize(AdvancedCache cache)
           
 void registerToMBeanServer()
          Here is where the registration is being performed.
 void unregisterMBeans()
          Unregister when the cache is being stoped.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheJmxRegistration

public CacheJmxRegistration()
Method Detail

initialize

public void initialize(AdvancedCache cache)

registerToMBeanServer

public void registerToMBeanServer()
Here is where the registration is being performed.


unregisterMBeans

public void unregisterMBeans()
Unregister when the cache is being stoped.


Google Analytics

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