public class SimpleCacheResolver extends AbstractCacheResolver
CacheResolverthat resolves the
Cacheinstance(s) based on a configurable
CacheManagerand the name of the cache(s) as provided by
|Constructor and Description|
|Modifier and Type||Method and Description|
Provide the name of the cache(s) to resolve against the current cache manager.
afterPropertiesSet, getCacheManager, resolveCaches, setCacheManager
public SimpleCacheResolver(CacheManager cacheManager)
protected Collection<String> getCacheNames(CacheOperationInvocationContext<?> context)
It is acceptable to return
null to indicate that no cache could
be resolved for this invocation.
context- the context of the particular invocation
nullif no cache should be resolved