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(javax.cache.annotation.CacheMethodDetails<A> cacheMethodDetails,
javax.cache.annotation.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() |
javax.cache.annotation.CacheResolver |
getCacheResolver() |
Method |
getMethod() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetInterceptorTypepublic AbstractStaticCacheInvocationContext(javax.cache.annotation.CacheMethodDetails<A> cacheMethodDetails, javax.cache.annotation.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 javax.cache.annotation.CacheResolver getCacheResolver()
getCacheResolver in interface StaticCacheInvocationContext<A extends Annotation>CacheResolver to use to get the cache for this methodpublic Method getMethod()
getMethod in interface javax.cache.annotation.CacheMethodDetails<A extends Annotation>public Set<Annotation> getAnnotations()
getAnnotations in interface javax.cache.annotation.CacheMethodDetails<A extends Annotation>public A getCacheAnnotation()
getCacheAnnotation in interface javax.cache.annotation.CacheMethodDetails<A extends Annotation>public String getCacheName()
getCacheName in interface javax.cache.annotation.CacheMethodDetails<A extends Annotation>Copyright © 2019. All rights reserved.