Package org.infinispan.jcache.annotation
Class MethodMetaData<A extends Annotation>
- java.lang.Object
-
- org.infinispan.jcache.annotation.MethodMetaData<A>
-
- All Implemented Interfaces:
javax.cache.annotation.CacheMethodDetails<A>
public class MethodMetaData<A extends Annotation> extends Object implements javax.cache.annotation.CacheMethodDetails<A>
Metadata associated to a method annotated with a cache annotation.- Author:
- Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
-
-
Constructor Summary
Constructors Constructor Description MethodMetaData(Method method, AggregatedParameterMetaData aggregatedParameterMetaData, Set<Annotation> annotations, javax.cache.annotation.CacheKeyGenerator cacheKeyGenerator, javax.cache.annotation.CacheResolver cacheResolver, javax.cache.annotation.CacheResolver exceptionCacheResolver, A cacheAnnotation, String cacheName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<Annotation>getAnnotations()AgetCacheAnnotation()javax.cache.annotation.CacheKeyGeneratorgetCacheKeyGenerator()StringgetCacheName()javax.cache.annotation.CacheResolvergetCacheResolver()javax.cache.annotation.CacheResolvergetExceptionCacheResolver()List<ParameterMetaData>getKeyParameters()MethodgetMethod()List<ParameterMetaData>getParameters()ParameterMetaDatagetValueParameter()StringtoString()
-
-
-
Constructor Detail
-
MethodMetaData
public MethodMetaData(Method method, AggregatedParameterMetaData aggregatedParameterMetaData, Set<Annotation> annotations, javax.cache.annotation.CacheKeyGenerator cacheKeyGenerator, javax.cache.annotation.CacheResolver cacheResolver, javax.cache.annotation.CacheResolver exceptionCacheResolver, A cacheAnnotation, String cacheName)
-
-
Method Detail
-
getMethod
public Method getMethod()
- Specified by:
getMethodin interfacejavax.cache.annotation.CacheMethodDetails<A extends Annotation>
-
getAnnotations
public Set<Annotation> getAnnotations()
- Specified by:
getAnnotationsin interfacejavax.cache.annotation.CacheMethodDetails<A extends Annotation>
-
getCacheAnnotation
public A getCacheAnnotation()
- Specified by:
getCacheAnnotationin interfacejavax.cache.annotation.CacheMethodDetails<A extends Annotation>
-
getCacheName
public String getCacheName()
- Specified by:
getCacheNamein 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()
-
getParameters
public List<ParameterMetaData> getParameters()
-
getKeyParameters
public List<ParameterMetaData> getKeyParameters()
-
getValueParameter
public ParameterMetaData getValueParameter()
-
-