类 ProxyJCacheConfiguration
- java.lang.Object
- org.springframework.cache.annotation.AbstractCachingConfiguration
- org.springframework.cache.jcache.config.AbstractJCacheConfiguration
- org.springframework.cache.jcache.config.ProxyJCacheConfiguration
- 所有已实现的接口:
Aware
,ImportAware
@Configuration @Role(2) public class ProxyJCacheConfiguration extends AbstractJCacheConfiguration
@Configuration
class that registers the Spring infrastructure beans necessary to enable proxy-based annotation-driven JSR-107 cache management.Can safely be used alongside Spring's caching support.
- 从以下版本开始:
- 4.1
- 作者:
- Stephane Nicoll
- 另请参阅:
EnableCaching
,CachingConfigurationSelector
字段概要
从类继承的字段 org.springframework.cache.jcache.config.AbstractJCacheConfiguration
exceptionCacheResolver
从类继承的字段 org.springframework.cache.annotation.AbstractCachingConfiguration
cacheManager, cacheResolver, enableCaching, errorHandler, keyGenerator
构造器概要
构造器 构造器 说明 ProxyJCacheConfiguration()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 BeanFactoryJCacheOperationSourceAdvisor
cacheAdvisor()
JCacheInterceptor
cacheInterceptor()
从类继承的方法 org.springframework.cache.jcache.config.AbstractJCacheConfiguration
cacheOperationSource, useCachingConfigurer
从类继承的方法 org.springframework.cache.annotation.AbstractCachingConfiguration
setImportMetadata
构造器详细资料
ProxyJCacheConfiguration
public ProxyJCacheConfiguration()
方法详细资料
cacheAdvisor
@Bean(name="org.springframework.cache.config.internalJCacheAdvisor") @Role(2) public BeanFactoryJCacheOperationSourceAdvisor cacheAdvisor()
cacheInterceptor
@Bean(name="jCacheInterceptor") @Role(2) public JCacheInterceptor cacheInterceptor()