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
ConstructorsConstructorDescriptionMethodMetaData(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
Modifier and TypeMethodDescriptionjavax.cache.annotation.CacheKeyGeneratorjavax.cache.annotation.CacheResolverjavax.cache.annotation.CacheResolvertoString()
-
Constructor Details
-
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 Details
-
getMethod
- Specified by:
getMethodin interfacejavax.cache.annotation.CacheMethodDetails<A extends Annotation>
-
getAnnotations
- Specified by:
getAnnotationsin interfacejavax.cache.annotation.CacheMethodDetails<A extends Annotation>
-
getCacheAnnotation
- Specified by:
getCacheAnnotationin interfacejavax.cache.annotation.CacheMethodDetails<A extends Annotation>
-
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
-
getKeyParameters
-
getValueParameter
-
toString
-