Class JCacheConfigurerSupport
java.lang.Object
org.springframework.cache.annotation.CachingConfigurerSupport
org.springframework.cache.jcache.config.JCacheConfigurerSupport
- All Implemented Interfaces:
CachingConfigurer, JCacheConfigurer
@Deprecated(since="6.0")
public class JCacheConfigurerSupport
extends CachingConfigurerSupport
implements JCacheConfigurer
Deprecated.
An extension of
CachingConfigurerSupport that also implements
JCacheConfigurer.
Users of JSR-107 annotations may extend from this class rather than
implementing from JCacheConfigurer directly.
- Since:
- 4.1
- Author:
- Stephane Nicoll
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Return theCacheResolverbean to use to resolve exception caches for annotation-driven cache management.Methods inherited from class CachingConfigurerSupport
cacheManager, cacheResolver, errorHandler, keyGeneratorMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CachingConfigurer
cacheManager, cacheResolver, errorHandler, keyGenerator
-
Constructor Details
-
JCacheConfigurerSupport
public JCacheConfigurerSupport()Deprecated.
-
-
Method Details
-
exceptionCacheResolver
Deprecated.Description copied from interface:JCacheConfigurerReturn 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.- Specified by:
exceptionCacheResolverin interfaceJCacheConfigurer
-
JCacheConfigurerdirectly