public class EhCacheCacheManager extends AbstractTransactionSupportingCacheManager
CacheManager.| Constructor and Description |
|---|
EhCacheCacheManager()
Create a new EhCacheCacheManager, setting the target EhCache CacheManager
through the
setCacheManager(net.sf.ehcache.CacheManager) bean property. |
EhCacheCacheManager(CacheManager cacheManager)
Create a new EhCacheCacheManager for the given backing EhCache CacheManager.
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.cache.Cache |
getCache(String name) |
CacheManager |
getCacheManager()
Return the backing EhCache
CacheManager. |
protected Collection<org.springframework.cache.Cache> |
loadCaches() |
void |
setCacheManager(CacheManager cacheManager)
Set the backing EhCache
CacheManager. |
decorateCache, isTransactionAware, setTransactionAwarepublic EhCacheCacheManager()
setCacheManager(net.sf.ehcache.CacheManager) bean property.public EhCacheCacheManager(CacheManager cacheManager)
cacheManager - the backing EhCache CacheManagerpublic void setCacheManager(CacheManager cacheManager)
CacheManager.public CacheManager getCacheManager()
CacheManager.protected Collection<org.springframework.cache.Cache> loadCaches()
loadCaches in class org.springframework.cache.support.AbstractCacheManagerpublic org.springframework.cache.Cache getCache(String name)
getCache in interface org.springframework.cache.CacheManagergetCache in class org.springframework.cache.support.AbstractCacheManager