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 |
|---|---|
void |
afterPropertiesSet() |
CacheManager |
getCacheManager()
Return the backing EhCache
CacheManager. |
protected org.springframework.cache.Cache |
getMissingCache(java.lang.String name) |
protected java.util.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.public void afterPropertiesSet()
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanafterPropertiesSet in class org.springframework.cache.support.AbstractCacheManagerprotected java.util.Collection<org.springframework.cache.Cache> loadCaches()
loadCaches in class org.springframework.cache.support.AbstractCacheManagerprotected org.springframework.cache.Cache getMissingCache(java.lang.String name)
getMissingCache in class org.springframework.cache.support.AbstractCacheManager