|
spring-context | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.cache.annotation.SpringCacheAnnotationParser
public class SpringCacheAnnotationParser
Strategy implementation for parsing Spring's Caching, Cacheable,
CacheEvict and CachePut annotations.
| Constructor Summary | |
|---|---|
SpringCacheAnnotationParser()
|
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpringCacheAnnotationParser()
| Method Detail |
|---|
public java.util.Collection<CacheOperation> parseCacheAnnotations(java.lang.reflect.AnnotatedElement ae)
CacheAnnotationParserThis essentially parses a known cache annotation into Spring's
metadata attribute class. Returns null if the method/class
is not cacheable.
parseCacheAnnotations in interface CacheAnnotationParserae - 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 | ||||||||