public class SpringCacheAnnotationParser extends java.lang.Object implements CacheAnnotationParser, java.io.Serializable
Caching, Cacheable,
CacheEvict and CachePut annotations.| Constructor and Description |
|---|
SpringCacheAnnotationParser() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object other) |
int |
hashCode() |
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.
|
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 classnull if none was foundAnnotationCacheOperationSource.determineCacheOperations(AnnotatedElement)public boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object