Interface MBeanRegistrationProvider
-
- All Known Implementing Classes:
MBeanRegistrationProviderImpl,NullMBeanRegistrationProvider,SampledMBeanRegistrationProvider
public interface MBeanRegistrationProviderImplementations 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidinitialize(CacheManager cacheManager, ClusteredInstanceFactory clusteredInstanceFactory)Initialize MBeanRegistration if necessary for the cacheManagerbooleanisInitialized()Returnstrueif initialized otherwise falsevoidreinitialize(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 theCacheManagerto re-register the mbeans
-
isInitialized
boolean isInitialized()
Returnstrueif initialized otherwise false- Returns:
trueif initialized
-
-