I - The intercepted method invocationA - The type of annotation this context information is for. One of CacheResult,
CachePut, CacheRemove, or
CacheRemoveAll.public abstract class AbstractInternalCacheKeyInvocationContext<I,A extends Annotation> extends AbstractInternalCacheInvocationContext<I,A> implements InternalCacheKeyInvocationContext<A>
| Constructor and Description |
|---|
AbstractInternalCacheKeyInvocationContext(StaticCacheKeyInvocationContext<A> staticCacheKeyInvocationContext,
I invocation)
Create a AbstractInternalCacheInvocationContext
|
| Modifier and Type | Method and Description |
|---|---|
CacheInvocationParameter[] |
getKeyParameters() |
protected Method |
getMethod(I invocation) |
protected Object[] |
getParameters(I invocation) |
StaticCacheKeyInvocationContext<A> |
getStaticCacheKeyInvocationContext() |
protected Object |
getTarget(I invocation) |
CacheInvocationParameter |
getValueParameter() |
getAllParameters, getAnnotations, getCacheAnnotation, getCacheName, getMethod, getStaticCacheInvocationContext, getTarget, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAllParameters, getTarget, unwrapgetAnnotations, getCacheAnnotation, getCacheName, getMethodpublic AbstractInternalCacheKeyInvocationContext(StaticCacheKeyInvocationContext<A> staticCacheKeyInvocationContext, I invocation)
staticCacheKeyInvocationContext - The pre-processed method details datainvocation - The current invocation contextpublic StaticCacheKeyInvocationContext<A> getStaticCacheKeyInvocationContext()
getStaticCacheKeyInvocationContext in interface InternalCacheKeyInvocationContext<A extends Annotation>protected Object[] getParameters(I invocation)
getParameters in class AbstractInternalCacheInvocationContext<I,A extends Annotation>invocation - The intercepted method invocationprotected Method getMethod(I invocation)
getMethod in class AbstractInternalCacheInvocationContext<I,A extends Annotation>invocation - The intercepted method invocationprotected Object getTarget(I invocation)
getTarget in class AbstractInternalCacheInvocationContext<I,A extends Annotation>invocation - The intercepted method invocationpublic CacheInvocationParameter[] getKeyParameters()
getKeyParameters in interface CacheKeyInvocationContext<A extends Annotation>public CacheInvocationParameter getValueParameter()
getValueParameter in interface CacheKeyInvocationContext<A extends Annotation>Copyright © 2014. All Rights Reserved.