org.ehcache.management
Interface ManagementRegistryConfiguration

All Superinterfaces:
ServiceCreationConfiguration<ManagementRegistry>
All Known Implementing Classes:
DefaultManagementRegistryConfiguration

public interface ManagementRegistryConfiguration
extends ServiceCreationConfiguration<ManagementRegistry>

Configuration interface for a ManagementRegistry.


Method Summary
 java.lang.String getCacheManagerAlias()
          Gets the alias to use for the cache manager when using the SharedManagementService.
 StatisticsProviderConfiguration getConfigurationFor(java.lang.Class<? extends ManagementProvider<?>> managementProviderClass)
          Returns the configuration of a specific ManagementProvider type.
 java.lang.String getStatisticsExecutorAlias()
          Gets the alias of the executor to use for asynchronous statistics tasks.
 
Methods inherited from interface org.ehcache.spi.service.ServiceCreationConfiguration
getServiceType
 

Method Detail

getCacheManagerAlias

java.lang.String getCacheManagerAlias()
Gets the alias to use for the cache manager when using the SharedManagementService.

Returns:
The cache manager alias that will be used in the context to call methods from SharedManagementService

getStatisticsExecutorAlias

java.lang.String getStatisticsExecutorAlias()
Gets the alias of the executor to use for asynchronous statistics tasks.

Returns:
The static executor alias

getConfigurationFor

StatisticsProviderConfiguration getConfigurationFor(java.lang.Class<? extends ManagementProvider<?>> managementProviderClass)
Returns the configuration of a specific ManagementProvider type.

Parameters:
managementProviderClass - The type of the class managing statistics, capabilities, actions, etc.
Returns:
The configuration class to use for this manager type