public interface EhCacheConfigurer
Modifier and Type | Method and Description |
---|---|
net.sf.ehcache.config.Configuration |
getConfiguration(Properties properties)
Returns the configuration to be used to initialize the EhCache.
|
String |
getMainCacheName()
Returns the name of the cache of the provided configuration which should be used as the main
cache.
|
List<String> |
getProtectedCacheNames()
Returns a list of names of caches which should not be changed by
CacheManager . |
void |
postConfiguration(net.sf.ehcache.CacheManager cacheManager)
Called after the CacheManager which was configured with the configuration of the
configuration file provided by this instance has been created.
|
net.sf.ehcache.config.Configuration getConfiguration(Properties properties) throws net.sf.ehcache.CacheException
properties
- optional properties to override some of the configuration settings at runtimenet.sf.ehcache.CacheException
- if parsing the configuration failedString getMainCacheName()
EhCacheManager.getCache()
.List<String> getProtectedCacheNames()
CacheManager
.void postConfiguration(net.sf.ehcache.CacheManager cacheManager)
cacheManager
- the created cache managerCopyright © 2019 Communote team. All rights reserved.