public class EhCacheCacheManager extends AbstractCacheManager
net.sf.ehcache.CacheManager
.Modifier and Type | Field and Description |
---|---|
private net.sf.ehcache.CacheManager |
cacheManager |
Constructor and Description |
---|
EhCacheCacheManager() |
Modifier and Type | Method and Description |
---|---|
Cache |
getCache(java.lang.String name)
Return the cache associated with the given name.
|
net.sf.ehcache.CacheManager |
getCacheManager()
Return the backing EhCache
net.sf.ehcache.CacheManager . |
protected java.util.Collection<Cache> |
loadCaches()
Load the caches for this cache manager.
|
void |
setCacheManager(net.sf.ehcache.CacheManager cacheManager)
Set the backing EhCache
net.sf.ehcache.CacheManager . |
addCache, afterPropertiesSet, getCacheNames
public void setCacheManager(net.sf.ehcache.CacheManager cacheManager)
net.sf.ehcache.CacheManager
.public net.sf.ehcache.CacheManager getCacheManager()
net.sf.ehcache.CacheManager
.protected java.util.Collection<Cache> loadCaches()
AbstractCacheManager
loadCaches
in class AbstractCacheManager
public Cache getCache(java.lang.String name)
CacheManager
getCache
in interface CacheManager
getCache
in class AbstractCacheManager
name
- cache identifier (must not be null
)null
if none is found