org.infinispan.jcache.annotation
Class MethodMetaData<A extends Annotation>

java.lang.Object
  extended by org.infinispan.jcache.annotation.MethodMetaData<A>

public class MethodMetaData<A extends Annotation>
extends Object

Metadata associated to a method annotated with a cache annotation.

Author:
Kevin Pollet (C) 2011 SERLI

Constructor Summary
MethodMetaData(Method method, AggregatedParameterMetaData aggregatedParameterMetaData, Set<Annotation> annotations, javax.cache.annotation.CacheKeyGenerator cacheKeyGenerator, A cacheAnnotation, String cacheName)
           
 
Method Summary
 Set<Annotation> getAnnotations()
           
 A getCacheAnnotation()
           
 javax.cache.annotation.CacheKeyGenerator getCacheKeyGenerator()
           
 String getCacheName()
           
 List<ParameterMetaData> getKeyParameters()
           
 Method getMethod()
           
 List<ParameterMetaData> getParameters()
           
 ParameterMetaData getValueParameter()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MethodMetaData

public MethodMetaData(Method method,
                      AggregatedParameterMetaData aggregatedParameterMetaData,
                      Set<Annotation> annotations,
                      javax.cache.annotation.CacheKeyGenerator cacheKeyGenerator,
                      A cacheAnnotation,
                      String cacheName)
Method Detail

getMethod

public Method getMethod()

getAnnotations

public Set<Annotation> getAnnotations()

getCacheAnnotation

public A getCacheAnnotation()

getCacheName

public String getCacheName()

getCacheKeyGenerator

public javax.cache.annotation.CacheKeyGenerator getCacheKeyGenerator()

getParameters

public List<ParameterMetaData> getParameters()

getKeyParameters

public List<ParameterMetaData> getKeyParameters()

getValueParameter

public ParameterMetaData getValueParameter()

toString

public String toString()
Overrides:
toString in class Object

-->

Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.