public class EhCacheCacheManager extends AbstractCacheManager
CacheManager
.Constructor and Description |
---|
EhCacheCacheManager() |
Modifier and Type | Method and Description |
---|---|
Cache |
getCache(String name)
Return the cache associated with the given name.
|
net.sf.ehcache.CacheManager |
getCacheManager()
Returns the backing Ehcache
CacheManager . |
protected Collection<Cache> |
loadCaches()
Load the caches for this cache manager.
|
void |
setCacheManager(net.sf.ehcache.CacheManager cacheManager)
Sets the backing EhCache
CacheManager . |
addCache, afterPropertiesSet, getCacheNames
public net.sf.ehcache.CacheManager getCacheManager()
CacheManager
.public void setCacheManager(net.sf.ehcache.CacheManager cacheManager)
CacheManager
.protected Collection<Cache> loadCaches()
AbstractCacheManager
loadCaches
in class AbstractCacheManager
public Cache getCache(String name)
CacheManager
getCache
in interface CacheManager
getCache
in class AbstractCacheManager
name
- cache identifier (must not be null
)null
if none is foundCopyright © 2014. All Rights Reserved.