A - The type of annotation this context information is for. One of CacheResult,
CachePut, CacheRemove, or
CacheRemoveAll.public class CacheMethodDetailsImpl<A extends Annotation> extends Object implements javax.cache.annotation.CacheMethodDetails<A>
CacheResolverFactory to
find the CacheResolver;| Constructor and Description |
|---|
CacheMethodDetailsImpl(Method targetMethod,
Set<Annotation> methodAnotations,
A cacheAnnotation,
String cacheName)
Create a new set of method details
|
| Modifier and Type | Method and Description |
|---|---|
Set<Annotation> |
getAnnotations() |
A |
getCacheAnnotation() |
String |
getCacheName() |
Method |
getMethod() |
public CacheMethodDetailsImpl(Method targetMethod, Set<Annotation> methodAnotations, A cacheAnnotation, String cacheName)
targetMethod - The annotated methodmethodAnotations - All annotations that exist on the methodcacheAnnotation - The caching related annotationcacheName - The resolved name of the cache for the methodpublic 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>Copyright © 2019. All rights reserved.