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.Class<?> type)
Parses the cache definition for the given class,
based on a known annotation type.
|
java.util.Collection<CacheOperation> |
parseCacheAnnotations(java.lang.reflect.Method method)
Parses the cache definition for the given method,
based on a known annotation type.
|
protected java.util.Collection<CacheOperation> |
parseCacheAnnotations(org.springframework.cache.annotation.SpringCacheAnnotationParser.DefaultCacheConfig cachingConfig,
java.lang.reflect.AnnotatedElement ae) |
public java.util.Collection<CacheOperation> parseCacheAnnotations(java.lang.Class<?> type)
CacheAnnotationParserThis essentially parses a known cache annotation into Spring's
metadata attribute class. Returns null if the class
is not cacheable.
parseCacheAnnotations in interface CacheAnnotationParsertype - the annotated classnull if none was foundAnnotationCacheOperationSource.findCacheOperations(Class)public java.util.Collection<CacheOperation> parseCacheAnnotations(java.lang.reflect.Method method)
CacheAnnotationParserThis essentially parses a known cache annotation into Spring's
metadata attribute class. Returns null if the method
is not cacheable.
parseCacheAnnotations in interface CacheAnnotationParsermethod - the annotated methodnull if none was foundAnnotationCacheOperationSource.findCacheOperations(Method)protected java.util.Collection<CacheOperation> parseCacheAnnotations(org.springframework.cache.annotation.SpringCacheAnnotationParser.DefaultCacheConfig cachingConfig, java.lang.reflect.AnnotatedElement ae)
public boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object