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 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

      public Method getMethod()
      Specified by:
      getMethod in interface javax.cache.annotation.CacheMethodDetails<A extends Annotation>
    • getAnnotations

      public Set<Annotation> getAnnotations()
      Specified by:
      getAnnotations in interface javax.cache.annotation.CacheMethodDetails<A extends Annotation>
    • getCacheAnnotation

      public A getCacheAnnotation()
      Specified by:
      getCacheAnnotation in interface javax.cache.annotation.CacheMethodDetails<A extends Annotation>
    • getCacheName

      public String getCacheName()
      Specified by:
      getCacheName in interface javax.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()
    • toString

      public String toString()
      Overrides:
      toString in class Object