|
spring-context | ||||||||
| 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 | |
|---|---|
java.util.Collection<CacheOperation> |
parseCacheAnnotations(java.lang.reflect.AnnotatedElement ae)
Parses the cache definition for the given method or class, based on a known annotation type. |
| Method Detail |
|---|
java.util.Collection<CacheOperation> parseCacheAnnotations(java.lang.reflect.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.determineCacheOperations(AnnotatedElement)
|
spring-context | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||