Package org.infinispan.jcache.annotation
Class CacheKeyInvocationContextImpl<A extends Annotation>
java.lang.Object
org.infinispan.jcache.annotation.CacheKeyInvocationContextImpl<A>
- All Implemented Interfaces:
javax.cache.annotation.CacheInvocationContext<A>,javax.cache.annotation.CacheKeyInvocationContext<A>,javax.cache.annotation.CacheMethodDetails<A>
public class CacheKeyInvocationContextImpl<A extends Annotation>
extends Object
implements javax.cache.annotation.CacheKeyInvocationContext<A>
The
CacheKeyInvocationContext implementation.- Author:
- Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
-
Constructor Summary
ConstructorsConstructorDescriptionCacheKeyInvocationContextImpl(javax.interceptor.InvocationContext invocationContext, MethodMetaData<A> methodMetaData) -
Method Summary
Modifier and TypeMethodDescriptionjavax.cache.annotation.CacheInvocationParameter[]javax.cache.annotation.CacheKeyGeneratorjavax.cache.annotation.CacheResolverjavax.cache.annotation.CacheResolverjavax.cache.annotation.CacheInvocationParameter[]javax.cache.annotation.CacheInvocationParametertoString()<T> T
-
Constructor Details
-
CacheKeyInvocationContextImpl
public CacheKeyInvocationContextImpl(javax.interceptor.InvocationContext invocationContext, MethodMetaData<A> methodMetaData)
-
-
Method Details
-
getTarget
- Specified by:
getTargetin interfacejavax.cache.annotation.CacheInvocationContext<A extends Annotation>
-
getAllParameters
public javax.cache.annotation.CacheInvocationParameter[] getAllParameters()- Specified by:
getAllParametersin interfacejavax.cache.annotation.CacheInvocationContext<A extends Annotation>
-
getKeyParameters
public javax.cache.annotation.CacheInvocationParameter[] getKeyParameters()- Specified by:
getKeyParametersin interfacejavax.cache.annotation.CacheKeyInvocationContext<A extends Annotation>
-
getValueParameter
public javax.cache.annotation.CacheInvocationParameter getValueParameter()- Specified by:
getValueParameterin interfacejavax.cache.annotation.CacheKeyInvocationContext<A extends Annotation>
-
unwrap
- Specified by:
unwrapin interfacejavax.cache.annotation.CacheInvocationContext<A extends Annotation>
-
getMethod
- Specified by:
getMethodin interfacejavax.cache.annotation.CacheMethodDetails<A extends Annotation>
-
getAnnotations
- Specified by:
getAnnotationsin interfacejavax.cache.annotation.CacheMethodDetails<A extends Annotation>
-
getCacheAnnotation
- Specified by:
getCacheAnnotationin interfacejavax.cache.annotation.CacheMethodDetails<A extends Annotation>
-
getCacheName
- Specified by:
getCacheNamein interfacejavax.cache.annotation.CacheMethodDetails<A extends Annotation>
-
getCacheKeyGenerator
public javax.cache.annotation.CacheKeyGenerator getCacheKeyGenerator() -
getCacheResolver
public javax.cache.annotation.CacheResolver getCacheResolver() -
getExceptionCacheResolver
public javax.cache.annotation.CacheResolver getExceptionCacheResolver() -
toString
-