类 ProxyCachingConfiguration
- java.lang.Object
- org.springframework.cache.annotation.AbstractCachingConfiguration
- org.springframework.cache.annotation.ProxyCachingConfiguration
- 所有已实现的接口:
Aware
,ImportAware
@Configuration @Role(2) public class ProxyCachingConfiguration extends AbstractCachingConfiguration
@Configuration
class that registers the Spring infrastructure beans necessary to enable proxy-based annotation-driven cache management.- 从以下版本开始:
- 3.1
- 作者:
- Chris Beams, Juergen Hoeller
- 另请参阅:
EnableCaching
,CachingConfigurationSelector
字段概要
从类继承的字段 org.springframework.cache.annotation.AbstractCachingConfiguration
cacheManager, cacheResolver, enableCaching, errorHandler, keyGenerator
构造器概要
构造器 构造器 说明 ProxyCachingConfiguration()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 BeanFactoryCacheOperationSourceAdvisor
cacheAdvisor()
CacheInterceptor
cacheInterceptor()
CacheOperationSource
cacheOperationSource()
从类继承的方法 org.springframework.cache.annotation.AbstractCachingConfiguration
setImportMetadata, useCachingConfigurer
构造器详细资料
ProxyCachingConfiguration
public ProxyCachingConfiguration()
方法详细资料
cacheAdvisor
@Bean(name="org.springframework.cache.config.internalCacheAdvisor") @Role(2) public BeanFactoryCacheOperationSourceAdvisor cacheAdvisor()
cacheOperationSource
@Bean @Role(2) public CacheOperationSource cacheOperationSource()
cacheInterceptor
@Bean @Role(2) public CacheInterceptor cacheInterceptor()