public class

SimpleCacheManager

extends AbstractCacheManager
java.lang.Object
   ↳ org.springframework.cache.support.AbstractCacheManager
     ↳ org.springframework.cache.support.SimpleCacheManager

Class Overview

Simple cache manager working against a given collection of caches. Useful for testing or simple caching declarations.

Summary

Public Constructors
SimpleCacheManager()
Public Methods
void setCaches(Collection<Cache<?, ?>> caches)
Protected Methods
Collection<Cache<?, ?>> loadCaches()
Loads the caches into the cache manager.
[Expand]
Inherited Methods
From class org.springframework.cache.support.AbstractCacheManager
From class java.lang.Object
From interface org.springframework.beans.factory.InitializingBean
From interface org.springframework.cache.CacheManager

Public Constructors

public SimpleCacheManager ()

Public Methods

public void setCaches (Collection<Cache<?, ?>> caches)

Protected Methods

protected Collection<Cache<?, ?>> loadCaches ()

Loads the caches into the cache manager. Occurs at startup. The returned collection should not be null.