Class AspectJCachingConfiguration
- java.lang.Object
- org.springframework.cache.annotation.AbstractCachingConfiguration
- org.springframework.cache.aspectj.AspectJCachingConfiguration
- All Implemented Interfaces:
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.- Since:
- 3.1
- Author:
- Chris Beams, Stephane Nicoll, Juergen Hoeller
- See Also:
EnableCaching
,CachingConfigurationSelector
Field Summary
Fields inherited from class org.springframework.cache.annotation.AbstractCachingConfiguration
cacheManager, cacheResolver, enableCaching, errorHandler, keyGenerator
Constructor Summary
Constructors Constructor Description AspectJCachingConfiguration()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.cache.aspectj.AnnotationCacheAspect
cacheAspect()
Methods inherited from class org.springframework.cache.annotation.AbstractCachingConfiguration
setImportMetadata, useCachingConfigurer
Constructor Detail
AspectJCachingConfiguration
public AspectJCachingConfiguration()
Method Detail
cacheAspect
@Bean(name="org.springframework.cache.config.internalCacheAspect") @Role(2) public org.springframework.cache.aspectj.AnnotationCacheAspect cacheAspect()