A
- The type of annotation this context information is for. One of
CacheResult
, CachePut
,
CacheRemove
, or
CacheRemoveAll
.public class TapestryIoCInternalCacheKeyInvocationContext<A extends java.lang.annotation.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 java.lang.reflect.Method |
getMethod(MethodInvocation invocation) |
protected java.lang.Object[] |
getParameters(MethodInvocation invocation) |
protected java.lang.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 java.lang.Object[] getParameters(MethodInvocation invocation)
getParameters
in class org.jsr107.ri.annotations.AbstractInternalCacheKeyInvocationContext<MethodInvocation,A extends java.lang.annotation.Annotation>
protected java.lang.reflect.Method getMethod(MethodInvocation invocation)
getMethod
in class org.jsr107.ri.annotations.AbstractInternalCacheKeyInvocationContext<MethodInvocation,A extends java.lang.annotation.Annotation>
protected java.lang.Object getTarget(MethodInvocation invocation)
getTarget
in class org.jsr107.ri.annotations.AbstractInternalCacheKeyInvocationContext<MethodInvocation,A extends java.lang.annotation.Annotation>
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.