public class SimpleCacheManager extends AbstractCacheManager
Constructor and Description |
---|
SimpleCacheManager() |
Modifier and Type | Method and Description |
---|---|
protected Collection<? extends Cache> |
loadCaches()
Load the initial caches for this cache manager.
|
void |
setCaches(Collection<? extends Cache> caches)
Specify the collection of Cache instances to use for this CacheManager.
|
addCache, afterPropertiesSet, decorateCache, getCache, getCacheNames
public void setCaches(Collection<? extends Cache> caches)
protected 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