Interface JCacheConfigurer
- All Superinterfaces:
- CachingConfigurer
- All Known Implementing Classes:
- JCacheConfigurerSupport
Extension of 
CachingConfigurer for the JSR-107 implementation.
 To be implemented by classes annotated with
 EnableCaching that wish
 or need to specify explicitly how exception caches are resolved for
 annotation-driven cache management.
 
See EnableCaching for
 general examples and context; see exceptionCacheResolver() for
 detailed instructions.
- Since:
- 4.1
- Author:
- Stephane Nicoll
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptiondefault CacheResolverReturn theCacheResolverbean to use to resolve exception caches for annotation-driven cache management.Methods inherited from interface org.springframework.cache.annotation.CachingConfigurercacheManager, cacheResolver, errorHandler, keyGenerator
- 
Method Details- 
exceptionCacheResolverReturn theCacheResolverbean to use to resolve exception caches for annotation-driven cache management. Implementations must explicitly declare@Bean, for example,@Configuration @EnableCaching public class AppConfig implements JCacheConfigurer { @Bean // important! @Override public CacheResolver exceptionCacheResolver() { // configure and return CacheResolver instance } // ... }SeeEnableCachingfor more complete examples.
 
-