public class CacheKeyInvocationContextImpl<A extends Annotation> extends Object implements javax.cache.annotation.CacheKeyInvocationContext<A>
CacheKeyInvocationContext
implementation.Constructor and Description |
---|
CacheKeyInvocationContextImpl(InvocationContext invocationContext,
MethodMetaData<A> methodMetaData) |
Modifier and Type | Method and Description |
---|---|
javax.cache.annotation.CacheInvocationParameter[] |
getAllParameters() |
Set<Annotation> |
getAnnotations() |
A |
getCacheAnnotation() |
javax.cache.annotation.CacheKeyGenerator |
getCacheKeyGenerator() |
String |
getCacheName() |
javax.cache.annotation.CacheInvocationParameter[] |
getKeyParameters() |
Method |
getMethod() |
Object |
getTarget() |
javax.cache.annotation.CacheInvocationParameter |
getValueParameter() |
String |
toString() |
<T> T |
unwrap(Class<T> clazz) |
public CacheKeyInvocationContextImpl(InvocationContext invocationContext, MethodMetaData<A> methodMetaData)
public Object getTarget()
getTarget
in interface javax.cache.annotation.CacheInvocationContext<A extends Annotation>
public javax.cache.annotation.CacheInvocationParameter[] getAllParameters()
getAllParameters
in interface javax.cache.annotation.CacheInvocationContext<A extends Annotation>
public javax.cache.annotation.CacheInvocationParameter[] getKeyParameters()
getKeyParameters
in interface javax.cache.annotation.CacheKeyInvocationContext<A extends Annotation>
public javax.cache.annotation.CacheInvocationParameter getValueParameter()
getValueParameter
in interface javax.cache.annotation.CacheKeyInvocationContext<A extends Annotation>
public <T> T unwrap(Class<T> clazz)
unwrap
in interface javax.cache.annotation.CacheInvocationContext<A extends Annotation>
public Method getMethod()
getMethod
in interface javax.cache.annotation.CacheMethodDetails<A extends Annotation>
public Set<Annotation> getAnnotations()
getAnnotations
in interface javax.cache.annotation.CacheMethodDetails<A extends Annotation>
public A getCacheAnnotation()
getCacheAnnotation
in interface javax.cache.annotation.CacheMethodDetails<A extends Annotation>
public String getCacheName()
getCacheName
in interface javax.cache.annotation.CacheMethodDetails<A extends Annotation>
public javax.cache.annotation.CacheKeyGenerator getCacheKeyGenerator()
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.