public class PayaraCacheKeyInvocationContext<A extends Annotation> extends Object implements javax.cache.annotation.CacheKeyInvocationContext<A>
Constructor and Description |
---|
PayaraCacheKeyInvocationContext(javax.interceptor.InvocationContext ctx,
A annotation) |
Modifier and Type | Method and Description |
---|---|
javax.cache.annotation.CacheInvocationParameter[] |
getAllParameters() |
Set |
getAnnotations() |
A |
getCacheAnnotation() |
String |
getCacheName() |
javax.cache.annotation.CacheResolverFactory |
getFactory() |
javax.cache.annotation.CacheKeyGenerator |
getGenerator() |
javax.cache.annotation.CacheInvocationParameter[] |
getKeyParameters() |
Method |
getMethod() |
Object |
getTarget() |
javax.cache.annotation.CacheInvocationParameter |
getValueParameter() |
Object |
unwrap(Class type) |
public PayaraCacheKeyInvocationContext(javax.interceptor.InvocationContext ctx, A annotation)
public Object getTarget()
getTarget
in interface javax.cache.annotation.CacheInvocationContext<A extends Annotation>
public final javax.cache.annotation.CacheResolverFactory getFactory()
public final javax.cache.annotation.CacheKeyGenerator getGenerator()
public javax.cache.annotation.CacheInvocationParameter[] getAllParameters()
getAllParameters
in interface javax.cache.annotation.CacheInvocationContext<A extends Annotation>
public Object unwrap(Class type)
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 getAnnotations()
getAnnotations
in interface javax.cache.annotation.CacheMethodDetails<A extends Annotation>
public String getCacheName()
getCacheName
in interface javax.cache.annotation.CacheMethodDetails<A extends Annotation>
public A getCacheAnnotation()
getCacheAnnotation
in interface javax.cache.annotation.CacheMethodDetails<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>
Copyright © 2018. All rights reserved.