public class SimpleCacheResolver extends AbstractCacheResolver
CacheResolver that resolves the Cache instance(s)
 based on a configurable CacheManager and the name of the
 cache(s) as provided by getCacheNames().BasicOperation.getCacheNames()| Constructor and Description | 
|---|
| SimpleCacheResolver()Construct a new  SimpleCacheResolver. | 
| SimpleCacheResolver(CacheManager cacheManager)Construct a new  SimpleCacheResolverfor the givenCacheManager. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Collection<String> | getCacheNames(CacheOperationInvocationContext<?> context)Provide the name of the cache(s) to resolve against the current cache manager. | 
afterPropertiesSet, getCacheManager, resolveCaches, setCacheManagerpublic SimpleCacheResolver()
SimpleCacheResolver.public SimpleCacheResolver(CacheManager cacheManager)
SimpleCacheResolver for the given CacheManager.cacheManager - the CacheManager to useprotected Collection<String> getCacheNames(CacheOperationInvocationContext<?> context)
AbstractCacheResolverIt is acceptable to return null to indicate that no cache could
 be resolved for this invocation.
getCacheNames in class AbstractCacheResolvercontext - the context of the particular invocationnull if no cache should be resolved