org.jboss.repository.spi
Interface MetaDataContext


public interface MetaDataContext

Version:
$Revision: 58766 $
Author:
Kabir Khan

Method Summary
<T extends Annotation>
Annotation
getAnnotation(Class<T> ann)
           
<T extends Annotation>
Annotation
getAnnotationForMethod(long methodHash, Class<T> ann)
           
 List<Annotation> getAnnotations()
           
 List<Annotation> getAnnotationsForMethod(long methodHash)
           
 List<Annotation> getAnnotationsForMethods(long[] methodHashes)
           
 MetaDataRepository getRepository()
           
<T extends Annotation>
boolean
hasAnnotation(Class<T> ann)
           
<T extends Annotation>
boolean
hasAnnotationForMethod(long methodHash, Class<T> ann)
           
 

Method Detail

hasAnnotation

<T extends Annotation> boolean hasAnnotation(Class<T> ann)

getAnnotation

<T extends Annotation> Annotation getAnnotation(Class<T> ann)

hasAnnotationForMethod

<T extends Annotation> boolean hasAnnotationForMethod(long methodHash,
                                                      Class<T> ann)

getAnnotationForMethod

<T extends Annotation> Annotation getAnnotationForMethod(long methodHash,
                                                         Class<T> ann)

getAnnotations

List<Annotation> getAnnotations()

getAnnotationsForMethod

List<Annotation> getAnnotationsForMethod(long methodHash)

getAnnotationsForMethods

List<Annotation> getAnnotationsForMethods(long[] methodHashes)

getRepository

MetaDataRepository getRepository()


Copyright ? 2007 JBoss Inc.. All Rights Reserved.