A
- The type of annotation this context information is for. One of
CacheResult
, CachePut
,
CacheRemove
, or
CacheRemoveAll
.public class TapestryIoCInternalCacheInvocationContext<A extends 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 Method |
getMethod(MethodInvocation invocation) |
protected Object[] |
getParameters(MethodInvocation invocation) |
protected 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 Object[] getParameters(MethodInvocation invocation)
getParameters
in class org.jsr107.ri.annotations.AbstractInternalCacheInvocationContext<MethodInvocation,A extends Annotation>
protected Method getMethod(MethodInvocation invocation)
getMethod
in class org.jsr107.ri.annotations.AbstractInternalCacheInvocationContext<MethodInvocation,A extends Annotation>
protected Object getTarget(MethodInvocation invocation)
getTarget
in class org.jsr107.ri.annotations.AbstractInternalCacheInvocationContext<MethodInvocation,A extends Annotation>
5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.