Top Description Methods
net.sf.ehcache.management.provider

public Interface MBeanRegistrationProvider

Known Direct Implementers
net.sf.ehcache.management.provider.MBeanRegistrationProviderImpl, net.sf.ehcache.management.provider.NullMBeanRegistrationProvider, net.sf.ehcache.management.sampled.SampledMBeanRegistrationProvider
Imports
net.sf.ehcache.CacheManager, net.sf.ehcache.terracotta.ClusteredInstanceFactory

Implementations of this interface will can initialize MBeanRegistration for the passed CacheManager. This is in addition to the ManagementService and has nothing to do

Author
Abhishek Sanoujam
Since
1.7

Method Summary

Modifier and TypeMethod and Description
public void
initialize(CacheManager cacheManager, ClusteredInstanceFactory clusteredInstanceFactory)

Initialize MBeanRegistration if necessary for the cacheManager

public boolean

Returns:

true if initialized
isInitialized
()

Returns true if initialized otherwise false

public void
reinitialize(ClusteredInstanceFactory clusteredInstanceFactory)

Reinitialize the mbeans.

Method Detail

initializeback to summary
public void initialize(CacheManager cacheManager, ClusteredInstanceFactory clusteredInstanceFactory) throws MBeanRegistrationProviderException

Initialize MBeanRegistration if necessary for the cacheManager

isInitializedback to summary
public boolean isInitialized()

Returns true if initialized otherwise false

Returns:boolean

true if initialized

reinitializeback to summary
public void reinitialize(ClusteredInstanceFactory clusteredInstanceFactory) throws MBeanRegistrationProviderException

Reinitialize the mbeans. Uses the current name of the CacheManager to re-register the mbeans