Class MethodMetaData<A extends Annotation>

  • 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 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:
        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()