|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CacheAnnotationParser
Strategy interface for parsing known caching annotation types.
AnnotationCacheOperationSource
delegates to such
parsers for supporting specific annotation types such as Spring's own
Cacheable
, CachePut
or CacheEvict
.
Method Summary | |
---|---|
Collection<CacheOperation> |
parseCacheAnnotations(AnnotatedElement ae)
Parses the cache definition for the given method or class, based on a known annotation type. |
Method Detail |
---|
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 class
null
if none was foundAnnotationCacheOperationSource#determineCacheOperation
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |