Class AbstractJCacheConfiguration
java.lang.Object
org.springframework.cache.annotation.AbstractCachingConfiguration
org.springframework.cache.jcache.config.AbstractJCacheConfiguration
- All Implemented Interfaces:
Aware
,ImportAware
- Direct Known Subclasses:
AspectJJCacheConfiguration
,ProxyJCacheConfiguration
@Configuration(proxyBeanMethods=false)
public abstract class AbstractJCacheConfiguration
extends 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
AbstractCachingConfiguration.CachingConfigurerSupplier
-
Field Summary
Fields inherited from class org.springframework.cache.annotation.AbstractCachingConfiguration
cacheManager, cacheResolver, enableCaching, errorHandler, keyGenerator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
useCachingConfigurer
(AbstractCachingConfiguration.CachingConfigurerSupplier cachingConfigurerSupplier) Extract the configuration from the nominatedCachingConfigurer
.Methods inherited from class org.springframework.cache.annotation.AbstractCachingConfiguration
setImportMetadata
-
Field Details
-
exceptionCacheResolver
-
-
Constructor Details
-
AbstractJCacheConfiguration
public AbstractJCacheConfiguration()
-
-
Method Details
-
useCachingConfigurer
protected void useCachingConfigurer(AbstractCachingConfiguration.CachingConfigurerSupplier cachingConfigurerSupplier) Description copied from class:AbstractCachingConfiguration
Extract the configuration from the nominatedCachingConfigurer
.- Overrides:
useCachingConfigurer
in classAbstractCachingConfiguration
-
cacheOperationSource
-