public class SimpleExceptionCacheResolver extends BaseCacheResolver
CacheResolverthat resolves the exception cache based on a configurable
CacheManagerand the name of the cache:
|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 SimpleExceptionCacheResolver(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.