public class SimpleExceptionCacheResolver extends AbstractCacheResolver
CacheResolver that resolves the exception cache
based on a configurable CacheManager and the name of the
cache: CacheResultOperation.getExceptionCacheName()CacheResultOperation.getExceptionCacheName()| Constructor and Description |
|---|
SimpleExceptionCacheResolver(CacheManager cacheManager) |
| 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 SimpleExceptionCacheResolver(CacheManager cacheManager)
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