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, lookupCache
public void setCaches(java.util.Collection<? extends Cache> caches)
protected java.util.Collection<? extends Cache> loadCaches()
AbstractCacheManager
Called by AbstractCacheManager.afterPropertiesSet()
on startup.
The returned collection may be empty but must not be null
.
loadCaches
in class AbstractCacheManager