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