A - The type of annotation this context information is for. One of CacheResult,
CachePut, CacheRemove, or
CacheRemoveAll.javax.cache.annotation.CacheInvocationContext<A>, javax.cache.annotation.CacheMethodDetails<A>, InternalCacheInvocationContext<A>public class CdiCacheInvocationContextImpl<A extends java.lang.annotation.Annotation> extends AbstractInternalCacheInvocationContext<javax.interceptor.InvocationContext,A>
InvocationContext| Constructor | Description |
|---|---|
CdiCacheInvocationContextImpl(StaticCacheInvocationContext<A> staticCacheInvocationContext,
javax.interceptor.InvocationContext invocation) |
Create new cache invocation context for the static context and invocation
|
| Modifier and Type | Method | Description |
|---|---|---|
protected java.lang.reflect.Method |
getMethod(javax.interceptor.InvocationContext invocation) |
|
protected java.lang.Object[] |
getParameters(javax.interceptor.InvocationContext invocation) |
|
protected java.lang.Object |
getTarget(javax.interceptor.InvocationContext invocation) |
getAllParameters, getAnnotations, getCacheAnnotation, getCacheName, getMethod, getStaticCacheInvocationContext, getTarget, unwrappublic CdiCacheInvocationContextImpl(StaticCacheInvocationContext<A> staticCacheInvocationContext, javax.interceptor.InvocationContext invocation)
staticCacheInvocationContext - Static information about the invoked methodinvocation - The CDI invocation contextprotected java.lang.Object[] getParameters(javax.interceptor.InvocationContext invocation)
getParameters in class AbstractInternalCacheInvocationContext<javax.interceptor.InvocationContext,A extends java.lang.annotation.Annotation>protected java.lang.reflect.Method getMethod(javax.interceptor.InvocationContext invocation)
getMethod in class AbstractInternalCacheInvocationContext<javax.interceptor.InvocationContext,A extends java.lang.annotation.Annotation>protected java.lang.Object getTarget(javax.interceptor.InvocationContext invocation)
getTarget in class AbstractInternalCacheInvocationContext<javax.interceptor.InvocationContext,A extends java.lang.annotation.Annotation>Copyright © 2017. All rights reserved.