A
- The type of annotation this context information is for. One of
CacheResult
, CachePut
,
CacheRemove
, or
CacheRemoveAll
.public class TapestryIoCInternalCacheKeyInvocationContext<A extends Annotation> extends org.jsr107.ri.annotations.AbstractInternalCacheKeyInvocationContext<MethodInvocation,A>
MethodInvocation
Constructor and Description |
---|
TapestryIoCInternalCacheKeyInvocationContext(org.jsr107.ri.annotations.StaticCacheKeyInvocationContext<A> staticCacheKeyInvocationContext,
MethodInvocation invocation)
Create new cache key invocation context for the static context and
invocation
|
Modifier and Type | Method and Description |
---|---|
protected Method |
getMethod(MethodInvocation invocation) |
protected Object[] |
getParameters(MethodInvocation invocation) |
protected Object |
getTarget(MethodInvocation invocation) |
getKeyParameters, getStaticCacheKeyInvocationContext, getValueParameter
getAllParameters, getAnnotations, getCacheAnnotation, getCacheName, getMethod, getStaticCacheInvocationContext, getTarget, unwrap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public TapestryIoCInternalCacheKeyInvocationContext(org.jsr107.ri.annotations.StaticCacheKeyInvocationContext<A> staticCacheKeyInvocationContext, MethodInvocation invocation)
staticCacheKeyInvocationContext
- Static information about the invoked methodinvocation
- The AOP Alliance invocation contextprotected Object[] getParameters(MethodInvocation invocation)
getParameters
in class org.jsr107.ri.annotations.AbstractInternalCacheKeyInvocationContext<MethodInvocation,A extends Annotation>
protected Method getMethod(MethodInvocation invocation)
getMethod
in class org.jsr107.ri.annotations.AbstractInternalCacheKeyInvocationContext<MethodInvocation,A extends Annotation>
protected Object getTarget(MethodInvocation invocation)
getTarget
in class org.jsr107.ri.annotations.AbstractInternalCacheKeyInvocationContext<MethodInvocation,A extends Annotation>
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.