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>
TheCacheKeyInvocationContextimplementation.- Author:
- Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
-
-
Constructor Summary
Constructors Constructor Description CacheKeyInvocationContextImpl(javax.interceptor.InvocationContext invocationContext, MethodMetaData<A> methodMetaData)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.cache.annotation.CacheInvocationParameter[]getAllParameters()Set<Annotation>getAnnotations()AgetCacheAnnotation()javax.cache.annotation.CacheKeyGeneratorgetCacheKeyGenerator()StringgetCacheName()javax.cache.annotation.CacheResolvergetCacheResolver()javax.cache.annotation.CacheResolvergetExceptionCacheResolver()javax.cache.annotation.CacheInvocationParameter[]getKeyParameters()MethodgetMethod()ObjectgetTarget()javax.cache.annotation.CacheInvocationParametergetValueParameter()StringtoString()<T> Tunwrap(Class<T> clazz)
-
-
-
Constructor Detail
-
CacheKeyInvocationContextImpl
public CacheKeyInvocationContextImpl(javax.interceptor.InvocationContext invocationContext, MethodMetaData<A> methodMetaData)
-
-
Method Detail
-
getTarget
public Object 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
public <T> T unwrap(Class<T> clazz)
- Specified by:
unwrapin interfacejavax.cache.annotation.CacheInvocationContext<A extends Annotation>
-
getMethod
public Method getMethod()
- Specified by:
getMethodin interfacejavax.cache.annotation.CacheMethodDetails<A extends Annotation>
-
getAnnotations
public Set<Annotation> getAnnotations()
- Specified by:
getAnnotationsin interfacejavax.cache.annotation.CacheMethodDetails<A extends Annotation>
-
getCacheAnnotation
public A getCacheAnnotation()
- Specified by:
getCacheAnnotationin interfacejavax.cache.annotation.CacheMethodDetails<A extends Annotation>
-
getCacheName
public String 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()
-
-