public interface CacheAnnotationParser
AnnotationCacheOperationSource delegates to such
parsers for supporting specific annotation types such as Spring's own
Cacheable, CachePut or CacheEvict.| Modifier and Type | Method and Description |
|---|---|
Collection<CacheOperation> |
parseCacheAnnotations(AnnotatedElement ae)
Parses the cache definition for the given method or class,
based on a known annotation type.
|
Collection<CacheOperation> parseCacheAnnotations(AnnotatedElement ae)
This essentially parses a known cache annotation into Spring's
metadata attribute class. Returns null if the method/class
is not cacheable.
ae - the annotated method or classnull if none was foundAnnotationCacheOperationSource.determineCacheOperations(AnnotatedElement)