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.CacheKeyInvocationContext<A>, javax.cache.annotation.CacheMethodDetails<A>, InternalCacheInvocationContext<A>, InternalCacheKeyInvocationContext<A>public class CdiCacheKeyInvocationContextImpl<A extends java.lang.annotation.Annotation> extends AbstractInternalCacheKeyInvocationContext<javax.interceptor.InvocationContext,A>
InvocationContext| Constructor | Description |
|---|---|
CdiCacheKeyInvocationContextImpl(StaticCacheKeyInvocationContext<A> staticCacheKeyInvocationContext,
javax.interceptor.InvocationContext invocation) |
Create new cache key 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, unwrapgetKeyParameters, getStaticCacheKeyInvocationContext, getValueParametergetAllParameters, getTarget, unwrappublic CdiCacheKeyInvocationContextImpl(StaticCacheKeyInvocationContext<A> staticCacheKeyInvocationContext, javax.interceptor.InvocationContext invocation)
staticCacheKeyInvocationContext - Static information about the invoked methodinvocation - The CDI invocation contextprotected java.lang.Object[] getParameters(javax.interceptor.InvocationContext invocation)
getParameters in class AbstractInternalCacheKeyInvocationContext<javax.interceptor.InvocationContext,A extends java.lang.annotation.Annotation>protected java.lang.reflect.Method getMethod(javax.interceptor.InvocationContext invocation)
getMethod in class AbstractInternalCacheKeyInvocationContext<javax.interceptor.InvocationContext,A extends java.lang.annotation.Annotation>protected java.lang.Object getTarget(javax.interceptor.InvocationContext invocation)
getTarget in class AbstractInternalCacheKeyInvocationContext<javax.interceptor.InvocationContext,A extends java.lang.annotation.Annotation>Copyright © 2017. All rights reserved.