Class PayaraCacheKeyInvocationContext<A extends Annotation>
- java.lang.Object
-
- fish.payara.cdi.jsr107.implementation.PayaraCacheKeyInvocationContext<A>
-
- All Implemented Interfaces:
javax.cache.annotation.CacheInvocationContext<A>
,javax.cache.annotation.CacheKeyInvocationContext<A>
,javax.cache.annotation.CacheMethodDetails<A>
public class PayaraCacheKeyInvocationContext<A extends Annotation> extends Object implements javax.cache.annotation.CacheKeyInvocationContext<A>
- Author:
- steve
-
-
Constructor Summary
Constructors Constructor Description PayaraCacheKeyInvocationContext(jakarta.interceptor.InvocationContext ctx, A annotation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Constructor Detail
-
PayaraCacheKeyInvocationContext
public PayaraCacheKeyInvocationContext(jakarta.interceptor.InvocationContext ctx, A annotation)
-
-
Method Detail
-
getTarget
public Object getTarget()
- Specified by:
getTarget
in interfacejavax.cache.annotation.CacheInvocationContext<A extends Annotation>
-
getFactory
public final javax.cache.annotation.CacheResolverFactory getFactory()
-
getGenerator
public final javax.cache.annotation.CacheKeyGenerator getGenerator()
-
getAllParameters
public javax.cache.annotation.CacheInvocationParameter[] getAllParameters()
- Specified by:
getAllParameters
in interfacejavax.cache.annotation.CacheInvocationContext<A extends Annotation>
-
unwrap
public Object unwrap(Class type)
- Specified by:
unwrap
in interfacejavax.cache.annotation.CacheInvocationContext<A extends Annotation>
-
getMethod
public Method getMethod()
- Specified by:
getMethod
in interfacejavax.cache.annotation.CacheMethodDetails<A extends Annotation>
-
getAnnotations
public Set getAnnotations()
- Specified by:
getAnnotations
in interfacejavax.cache.annotation.CacheMethodDetails<A extends Annotation>
-
getCacheName
public String getCacheName()
- Specified by:
getCacheName
in interfacejavax.cache.annotation.CacheMethodDetails<A extends Annotation>
-
getCacheAnnotation
public A getCacheAnnotation()
- Specified by:
getCacheAnnotation
in interfacejavax.cache.annotation.CacheMethodDetails<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>
-
-