类 AbstractJCacheConfiguration
- java.lang.Object
- org.springframework.cache.annotation.AbstractCachingConfiguration
- org.springframework.cache.jcache.config.AbstractJCacheConfiguration
- 所有已实现的接口:
Aware,ImportAware
@Configuration public abstract class AbstractJCacheConfiguration extends AbstractCachingConfiguration
Abstract JSR-107 specific@Configurationclass providing common structure for enabling JSR-107 annotation-driven cache management capability.- 从以下版本开始:
- 4.1
- 作者:
- Stephane Nicoll
- 另请参阅:
JCacheConfigurer
字段概要
字段 修饰符和类型 字段 说明 protected CacheResolverexceptionCacheResolver从类继承的字段 org.springframework.cache.annotation.AbstractCachingConfiguration
cacheManager, cacheResolver, enableCaching, errorHandler, keyGenerator
构造器概要
构造器 构造器 说明 AbstractJCacheConfiguration()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 JCacheOperationSourcecacheOperationSource()protected voiduseCachingConfigurer(CachingConfigurer config)Extract the configuration from the nominatedCachingConfigurer.从类继承的方法 org.springframework.cache.annotation.AbstractCachingConfiguration
setImportMetadata
字段详细资料
exceptionCacheResolver
protected CacheResolver exceptionCacheResolver
构造器详细资料
AbstractJCacheConfiguration
public AbstractJCacheConfiguration()
方法详细资料
useCachingConfigurer
protected void useCachingConfigurer(CachingConfigurer config)
从类复制的说明:AbstractCachingConfigurationExtract the configuration from the nominatedCachingConfigurer.
cacheOperationSource
@Bean(name="jCacheOperationSource") @Role(2) public JCacheOperationSource cacheOperationSource()