|
|||||||||
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.support.SimpleCacheManager
public class SimpleCacheManager
Simple cache manager working against a given collection of caches. Useful for testing or simple caching declarations.
Field Summary | |
---|---|
private java.util.Collection<? extends Cache> |
caches
|
Constructor Summary | |
---|---|
SimpleCacheManager()
|
Method Summary | |
---|---|
protected java.util.Collection<? extends Cache> |
loadCaches()
Load the caches for this cache manager. |
void |
setCaches(java.util.Collection<? extends Cache> caches)
Specify the collection of Cache instances to use for this CacheManager. |
Methods inherited from class org.springframework.cache.support.AbstractCacheManager |
---|
addCache, afterPropertiesSet, getCache, getCacheNames |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.util.Collection<? extends Cache> caches
Constructor Detail |
---|
public SimpleCacheManager()
Method Detail |
---|
public void setCaches(java.util.Collection<? extends Cache> caches)
protected java.util.Collection<? extends Cache> loadCaches()
AbstractCacheManager
loadCaches
in class AbstractCacheManager
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |