Top Description Fields Constructors Methods
org.springframework.cache.jcache.config

public abstract Class AbstractJCacheConfiguration

extends AbstractCachingConfiguration
Class Inheritance
Known Direct Subclasses
org.springframework.cache.jcache.config.ProxyJCacheConfiguration
Annotations
@Configuration
proxyBeanMethods:false
Imports
java.util.function.Supplier, org.springframework.beans.factory.config.BeanDefinition, org.springframework.cache.annotation.AbstractCachingConfiguration, org.springframework.cache.interceptor.CacheResolver, org.springframework.cache.jcache.interceptor.DefaultJCacheOperationSource, .JCacheOperationSource, org.springframework.context.annotation.Bean, .Configuration, .Role, org.springframework.lang.Nullable

Abstract JSR-107 specific @Configuration class providing common structure for enabling JSR-107 annotation-driven cache management capability.
Authors
Stephane Nicoll, Juergen Hoeller
Since
4.1
See Also
JCacheConfigurer

Field Summary

Modifier and TypeField and Description
protected Supplier<CacheResolver>
Inherited from org.springframework.cache.annotation.AbstractCachingConfiguration:
cacheManagercacheResolverenableCachingerrorHandlerkeyGenerator

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public JCacheOperationSource
protected void
Inherited from org.springframework.cache.annotation.AbstractCachingConfiguration:
setImportMetadata

Field Detail

exceptionCacheResolverback to summary
protected Supplier<CacheResolver> exceptionCacheResolver
Annotations
@Nullable

Constructor Detail

AbstractJCacheConfigurationback to summary
public AbstractJCacheConfiguration()

Method Detail

cacheOperationSourceback to summary
public JCacheOperationSource cacheOperationSource()
Annotations
@Bean
name:jCacheOperationSource
@Role:2
useCachingConfigurerback to summary
protected void useCachingConfigurer(AbstractCachingConfiguration.CachingConfigurerSupplier cachingConfigurerSupplier)

Overrides org.springframework.cache.annotation.AbstractCachingConfiguration.useCachingConfigurer.

Doc from org.springframework.cache.annotation.AbstractCachingConfiguration.useCachingConfigurer.

Extract the configuration from the nominated CachingConfigurer.

Annotations
@Override