ehcache

net.sf.ehcache.management.provider
Interface MBeanRegistrationProvider

All Known Implementing Classes:
MBeanRegistrationProviderImpl, NullMBeanRegistrationProvider, SampledMBeanRegistrationProvider

public interface MBeanRegistrationProvider

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

Since:
1.7
Author:
Abhishek Sanoujam

Method Summary
 void initialize(CacheManager cacheManager, ClusteredInstanceFactory clusteredInstanceFactory)
          Initialize MBeanRegistration if necessary for the cacheManager
 boolean isInitialized()
          Returns true if initialized otherwise false
 void reinitialize(ClusteredInstanceFactory clusteredInstanceFactory)
          Reinitialize the mbeans.
 

Method Detail

initialize

void initialize(CacheManager cacheManager,
                ClusteredInstanceFactory clusteredInstanceFactory)
                throws MBeanRegistrationProviderException
Initialize MBeanRegistration if necessary for the cacheManager

Parameters:
cacheManager -
Throws:
MBeanRegistrationProviderException

reinitialize

void reinitialize(ClusteredInstanceFactory clusteredInstanceFactory)
                  throws MBeanRegistrationProviderException
Reinitialize the mbeans. Uses the current name of the CacheManager to re-register the mbeans

Throws:
MBeanRegistrationProviderException

isInitialized

boolean isInitialized()
Returns true if initialized otherwise false

Returns:
true if initialized

ehcache

Copyright 2001-2015, Terracotta, Inc.