|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.cache.support.AbstractCacheManager org.springframework.cache.ehcache.EhCacheCacheManager
public class EhCacheCacheManager
CacheManager backed by an EhCache CacheManager
.
Constructor Summary | |
---|---|
EhCacheCacheManager()
|
Method Summary | |
---|---|
Cache |
getCache(String name)
Return the cache associated with the given name. |
CacheManager |
getCacheManager()
Returns the backing Ehcache CacheManager . |
protected Collection<Cache> |
loadCaches()
Load the caches for this cache manager. |
void |
setCacheManager(CacheManager cacheManager)
Sets the backing EhCache CacheManager . |
Methods inherited from class org.springframework.cache.support.AbstractCacheManager |
---|
addCache, afterPropertiesSet, getCacheNames |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EhCacheCacheManager()
Method Detail |
---|
public CacheManager getCacheManager()
CacheManager
.
public void setCacheManager(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 found
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |