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 <[email protected]> (C) 2011 SERLI
-
Constructor Summary
ConstructorsConstructorDescriptionCacheKeyInvocationContextImpl
(javax.interceptor.InvocationContext invocationContext, MethodMetaData<A> methodMetaData) -
Method Summary
Modifier and TypeMethodDescriptionjavax.cache.annotation.CacheInvocationParameter[]
javax.cache.annotation.CacheKeyGenerator
javax.cache.annotation.CacheResolver
javax.cache.annotation.CacheResolver
javax.cache.annotation.CacheInvocationParameter[]
javax.cache.annotation.CacheInvocationParameter
toString()
<T> T
-
Constructor Details
-
CacheKeyInvocationContextImpl
public CacheKeyInvocationContextImpl(javax.interceptor.InvocationContext invocationContext, MethodMetaData<A> methodMetaData)
-
-
Method Details
-
getTarget
- Specified by:
getTarget
in interfacejavax.cache.annotation.CacheInvocationContext<A extends Annotation>
-
getAllParameters
public javax.cache.annotation.CacheInvocationParameter[] getAllParameters()- Specified by:
getAllParameters
in interfacejavax.cache.annotation.CacheInvocationContext<A extends Annotation>
-
getKeyParameters
public javax.cache.annotation.CacheInvocationParameter[] getKeyParameters()- Specified by:
getKeyParameters
in interfacejavax.cache.annotation.CacheKeyInvocationContext<A extends Annotation>
-
getValueParameter
public javax.cache.annotation.CacheInvocationParameter getValueParameter()- Specified by:
getValueParameter
in interfacejavax.cache.annotation.CacheKeyInvocationContext<A extends Annotation>
-
unwrap
- Specified by:
unwrap
in interfacejavax.cache.annotation.CacheInvocationContext<A extends Annotation>
-
getMethod
- Specified by:
getMethod
in interfacejavax.cache.annotation.CacheMethodDetails<A extends Annotation>
-
getAnnotations
- Specified by:
getAnnotations
in interfacejavax.cache.annotation.CacheMethodDetails<A extends Annotation>
-
getCacheAnnotation
- Specified by:
getCacheAnnotation
in interfacejavax.cache.annotation.CacheMethodDetails<A extends Annotation>
-
getCacheName
- Specified by:
getCacheName
in 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
-