public class NamedCacheResolver extends AbstractCacheResolver
CacheResolver that forces the resolution to a configurable
 collection of name(s) against a given CacheManager.| Constructor and Description | 
|---|
| NamedCacheResolver() | 
| NamedCacheResolver(CacheManager cacheManager,
                  String... cacheNames) | 
| 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. | 
| void | setCacheNames(Collection<String> cacheNames)Set the cache name(s) that this resolver should use. | 
afterPropertiesSet, getCacheManager, resolveCaches, setCacheManagerpublic NamedCacheResolver()
public NamedCacheResolver(CacheManager cacheManager, String... cacheNames)
public void setCacheNames(Collection<String> cacheNames)
protected 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