A
- The type of annotation this context information is for. One of
CacheResult
, CachePut
,
CacheRemove
, or
CacheRemoveAll
.public class TapestryIoCInternalCacheInvocationContext<A extends java.lang.annotation.Annotation> extends org.jsr107.ri.annotations.AbstractInternalCacheInvocationContext<MethodInvocation,A>
MethodInvocation
Constructor and Description |
---|
TapestryIoCInternalCacheInvocationContext(org.jsr107.ri.annotations.StaticCacheInvocationContext<A> staticCacheInvocationContext,
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) |
public TapestryIoCInternalCacheInvocationContext(org.jsr107.ri.annotations.StaticCacheInvocationContext<A> staticCacheInvocationContext, MethodInvocation invocation)
staticCacheInvocationContext
- Static information about the invoked methodinvocation
- The AOP Alliance invocation contextprotected java.lang.Object[] getParameters(MethodInvocation invocation)
getParameters
in class org.jsr107.ri.annotations.AbstractInternalCacheInvocationContext<MethodInvocation,A extends java.lang.annotation.Annotation>
protected java.lang.reflect.Method getMethod(MethodInvocation invocation)
getMethod
in class org.jsr107.ri.annotations.AbstractInternalCacheInvocationContext<MethodInvocation,A extends java.lang.annotation.Annotation>
protected java.lang.Object getTarget(MethodInvocation invocation)
getTarget
in class org.jsr107.ri.annotations.AbstractInternalCacheInvocationContext<MethodInvocation,A extends java.lang.annotation.Annotation>
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.