Package org.springframework.cache.annotation
@NonNullApi
@NonNullFields
package org.springframework.cache.annotation
Annotations and supporting classes for declarative cache management.
 Hooked into Spring's cache interception infrastructure via
 
CacheOperationSource.
- 
ClassDescriptionAbstract base@Configurationclass providing common structure for enabling Spring's annotation-driven cache management capability.Implementation of theCacheOperationSourceinterface for working with caching metadata in annotation format.Callback interface providingCacheOperationinstance(s) based on a givenCacheAnnotationParser.Annotation indicating that the result of invoking a method (or all methods in a class) can be cached.Strategy interface for parsing known caching annotation types.@CacheConfigprovides a mechanism for sharing common cache-related settings at the class level.Annotation indicating that a method (or all methods on a class) triggers acache evictoperation.Annotation indicating that a method (or all methods on a class) triggers acache putoperation.Group annotation for multiple cache annotations (of different or the same type).Selects which implementation ofAbstractCachingConfigurationshould be used based on the value ofEnableCaching.mode()on the importing@Configurationclass.Interface to be implemented by @Configurationclasses annotated with @EnableCachingthat wish or need to specify explicitly how caches are resolved and how keys are generated for annotation-driven cache management.Deprecated.Enables Spring's annotation-driven cache management capability, similar to the support found in Spring's<cache:*>XML namespace.@Configurationclass that registers the Spring infrastructure beans necessary to enable proxy-based annotation-driven cache management.Strategy implementation for parsing Spring'sCaching,Cacheable,CacheEvict, andCachePutannotations.
CachingConfigurerdirectly