Class TapestryIoCInternalCacheInvocationContext<A extends Annotation>
java.lang.Object
org.jsr107.ri.annotations.AbstractInternalCacheInvocationContext<MethodInvocation,A>
org.apache.tapestry5.jcache.internal.TapestryIoCInternalCacheInvocationContext<A>
- Type Parameters:
A
- The type of annotation this context information is for. One ofCacheResult
,CachePut
,CacheRemove
, orCacheRemoveAll
.
- All Implemented Interfaces:
javax.cache.annotation.CacheInvocationContext<A>
,javax.cache.annotation.CacheMethodDetails<A>
,org.jsr107.ri.annotations.InternalCacheInvocationContext<A>
public class TapestryIoCInternalCacheInvocationContext<A extends Annotation>
extends org.jsr107.ri.annotations.AbstractInternalCacheInvocationContext<MethodInvocation,A>
Tapestry-IoC specific cache invocation context using
MethodInvocation
-
Constructor Summary
ConstructorsConstructorDescriptionTapestryIoCInternalCacheInvocationContext
(org.jsr107.ri.annotations.StaticCacheInvocationContext<A> staticCacheInvocationContext, MethodInvocation invocation) Create new cache key invocation context for the static context and invocation -
Method Summary
Modifier and TypeMethodDescriptionprotected Method
getMethod
(MethodInvocation invocation) protected Object[]
getParameters
(MethodInvocation invocation) protected Object
getTarget
(MethodInvocation invocation) Methods inherited from class org.jsr107.ri.annotations.AbstractInternalCacheInvocationContext
getAllParameters, getAnnotations, getCacheAnnotation, getCacheName, getMethod, getStaticCacheInvocationContext, getTarget, unwrap
-
Constructor Details
-
TapestryIoCInternalCacheInvocationContext
public TapestryIoCInternalCacheInvocationContext(org.jsr107.ri.annotations.StaticCacheInvocationContext<A> staticCacheInvocationContext, MethodInvocation invocation) Create new cache key invocation context for the static context and invocation- Parameters:
staticCacheInvocationContext
- Static information about the invoked methodinvocation
- The AOP Alliance invocation context
-
-
Method Details
-
getParameters
- Specified by:
getParameters
in classorg.jsr107.ri.annotations.AbstractInternalCacheInvocationContext<MethodInvocation,
A extends Annotation>
-
getMethod
- Specified by:
getMethod
in classorg.jsr107.ri.annotations.AbstractInternalCacheInvocationContext<MethodInvocation,
A extends Annotation>
-
getTarget
- Specified by:
getTarget
in classorg.jsr107.ri.annotations.AbstractInternalCacheInvocationContext<MethodInvocation,
A extends Annotation>
-