public class SimpleCacheManager extends AbstractCacheManager
| Constructor and Description |
|---|
SimpleCacheManager() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Collection<? extends Cache> |
loadCaches()
Load the initial caches for this cache manager.
|
void |
setCaches(java.util.Collection<? extends Cache> caches)
Specify the collection of Cache instances to use for this CacheManager.
|
addCache, afterPropertiesSet, decorateCache, getCache, getCacheNames, getMissingCache, initializeCaches, lookupCachepublic void setCaches(java.util.Collection<? extends Cache> caches)
protected java.util.Collection<? extends Cache> loadCaches()
AbstractCacheManagerCalled by AbstractCacheManager.afterPropertiesSet() on startup.
The returned collection may be empty but must not be null.
loadCaches in class AbstractCacheManager