Class AbstractJCacheConfiguration
java.lang.Object
org.springframework.cache.annotation.AbstractCachingConfiguration
org.springframework.cache.jcache.config.AbstractJCacheConfiguration
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.context.annotation.ImportAware
- Direct Known Subclasses:
ProxyJCacheConfiguration
@Configuration(proxyBeanMethods=false)
public abstract class AbstractJCacheConfiguration
extends org.springframework.cache.annotation.AbstractCachingConfiguration
Abstract JSR-107 specific
@Configuration
class providing common
structure for enabling JSR-107 annotation-driven cache management capability.- Since:
- 4.1
- Author:
- Stephane Nicoll, Juergen Hoeller
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.cache.annotation.AbstractCachingConfiguration
org.springframework.cache.annotation.AbstractCachingConfiguration.CachingConfigurerSupplier
-
Field Summary
Modifier and TypeFieldDescriptionprotected Supplier<org.springframework.cache.interceptor.CacheResolver>
Fields inherited from class org.springframework.cache.annotation.AbstractCachingConfiguration
cacheManager, cacheResolver, enableCaching, errorHandler, keyGenerator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
useCachingConfigurer
(org.springframework.cache.annotation.AbstractCachingConfiguration.CachingConfigurerSupplier cachingConfigurerSupplier) Methods inherited from class org.springframework.cache.annotation.AbstractCachingConfiguration
setImportMetadata
-
Field Details
-
exceptionCacheResolver
@Nullable protected Supplier<org.springframework.cache.interceptor.CacheResolver> exceptionCacheResolver
-
-
Constructor Details
-
AbstractJCacheConfiguration
public AbstractJCacheConfiguration()
-
-
Method Details
-
useCachingConfigurer
protected void useCachingConfigurer(org.springframework.cache.annotation.AbstractCachingConfiguration.CachingConfigurerSupplier cachingConfigurerSupplier) - Overrides:
useCachingConfigurer
in classorg.springframework.cache.annotation.AbstractCachingConfiguration
-
cacheOperationSource
-