A - The type of annotation this context information is for. One of CacheResult,
CachePut, CacheRemove, or
CacheRemoveAll.public abstract class AbstractStaticCacheInvocationContext<A extends Annotation> extends Object implements StaticCacheInvocationContext<A>
| Constructor and Description |
|---|
AbstractStaticCacheInvocationContext(CacheMethodDetails<A> cacheMethodDetails,
CacheResolver cacheResolver,
List<CacheParameterDetails> allParameters)
Create a new static invocation instance
|
| Modifier and Type | Method and Description |
|---|---|
List<CacheParameterDetails> |
getAllParameters() |
Set<Annotation> |
getAnnotations() |
A |
getCacheAnnotation() |
String |
getCacheName() |
CacheResolver |
getCacheResolver() |
Method |
getMethod() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetInterceptorTypepublic AbstractStaticCacheInvocationContext(CacheMethodDetails<A> cacheMethodDetails, CacheResolver cacheResolver, List<CacheParameterDetails> allParameters)
cacheMethodDetails - Static details about the methodcacheResolver - The cache resolver to use for the methodallParameters - All parameter detailspublic List<CacheParameterDetails> getAllParameters()
getAllParameters in interface StaticCacheInvocationContext<A extends Annotation>public CacheResolver getCacheResolver()
getCacheResolver in interface StaticCacheInvocationContext<A extends Annotation>CacheResolver to use to get the cache for this methodpublic Method getMethod()
getMethod in interface CacheMethodDetails<A extends Annotation>public Set<Annotation> getAnnotations()
getAnnotations in interface CacheMethodDetails<A extends Annotation>public A getCacheAnnotation()
getCacheAnnotation in interface CacheMethodDetails<A extends Annotation>public String getCacheName()
getCacheName in interface CacheMethodDetails<A extends Annotation>Copyright © 2014. All Rights Reserved.