Class TapestryIoCInternalCacheKeyInvocationContext<A extends Annotation>
java.lang.Object
org.jsr107.ri.annotations.AbstractInternalCacheInvocationContext<I,A>
org.jsr107.ri.annotations.AbstractInternalCacheKeyInvocationContext<MethodInvocation,A>
org.apache.tapestry5.jcache.internal.TapestryIoCInternalCacheKeyInvocationContext<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.CacheKeyInvocationContext<A>,javax.cache.annotation.CacheMethodDetails<A>,org.jsr107.ri.annotations.InternalCacheInvocationContext<A>,org.jsr107.ri.annotations.InternalCacheKeyInvocationContext<A>
public class TapestryIoCInternalCacheKeyInvocationContext<A extends Annotation>
extends org.jsr107.ri.annotations.AbstractInternalCacheKeyInvocationContext<MethodInvocation,A>
Tapestry-IoC specific cache key invocation context using
MethodInvocation-
Constructor Summary
ConstructorsConstructorDescriptionTapestryIoCInternalCacheKeyInvocationContext(org.jsr107.ri.annotations.StaticCacheKeyInvocationContext<A> staticCacheKeyInvocationContext, MethodInvocation invocation) Create new cache key invocation context for the static context and invocation -
Method Summary
Modifier and TypeMethodDescriptionprotected MethodgetMethod(MethodInvocation invocation) protected Object[]getParameters(MethodInvocation invocation) protected ObjectgetTarget(MethodInvocation invocation) Methods inherited from class org.jsr107.ri.annotations.AbstractInternalCacheKeyInvocationContext
getKeyParameters, getStaticCacheKeyInvocationContext, getValueParameterMethods inherited from class org.jsr107.ri.annotations.AbstractInternalCacheInvocationContext
getAllParameters, getAnnotations, getCacheAnnotation, getCacheName, getMethod, getStaticCacheInvocationContext, getTarget, unwrapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.cache.annotation.CacheInvocationContext
getAllParameters, getTarget, unwrapMethods inherited from interface javax.cache.annotation.CacheMethodDetails
getAnnotations, getCacheAnnotation, getCacheName, getMethod
-
Constructor Details
-
TapestryIoCInternalCacheKeyInvocationContext
public TapestryIoCInternalCacheKeyInvocationContext(org.jsr107.ri.annotations.StaticCacheKeyInvocationContext<A> staticCacheKeyInvocationContext, MethodInvocation invocation) Create new cache key invocation context for the static context and invocation- Parameters:
staticCacheKeyInvocationContext- Static information about the invoked methodinvocation- The AOP Alliance invocation context
-
-
Method Details
-
getParameters
- Overrides:
getParametersin classorg.jsr107.ri.annotations.AbstractInternalCacheKeyInvocationContext<MethodInvocation,A extends Annotation>
-
getMethod
- Overrides:
getMethodin classorg.jsr107.ri.annotations.AbstractInternalCacheKeyInvocationContext<MethodInvocation,A extends Annotation>
-
getTarget
- Overrides:
getTargetin classorg.jsr107.ri.annotations.AbstractInternalCacheKeyInvocationContext<MethodInvocation,A extends Annotation>
-