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