public class AnnotatedElementMetaDataLoader extends BasicMetaDataLoader
| Constructor and Description |
|---|
AnnotatedElementMetaDataLoader(AnnotatedElement annotated)
Create a new AnnotatedElementMetaDataContext.
|
| Modifier and Type | Method and Description |
|---|---|
MetaDataRetrieval |
getComponentMetaDataRetrieval(Signature signature)
Get the component metadata retrieval
|
boolean |
isEmpty()
Is metadata empty.
|
<T extends Annotation> |
retrieveAnnotation(Class<T> annotationType)
Get annotation
|
AnnotationsItem |
retrieveAnnotations()
Get all the annotations
|
String |
toString() |
retrieveMetaDatagetScope, getScopedRetrieval, getValidTime, invalidate, isCachable, retrieveAnnotationsAnnotatedWith, retrieveLocalAnnotations, retrieveLocalMetaData, retrieveMetaData, retrieveMetaDatapublic AnnotatedElementMetaDataLoader(AnnotatedElement annotated)
annotated - the annotated elementpublic AnnotationsItem retrieveAnnotations()
MetaDataRetrievalpublic <T extends Annotation> AnnotationItem<T> retrieveAnnotation(Class<T> annotationType)
MetaDataRetrievalretrieveAnnotation in interface MetaDataRetrievalretrieveAnnotation in class BasicMetaDataLoaderT - the annotation typeannotationType - the annotation typepublic MetaDataRetrieval getComponentMetaDataRetrieval(Signature signature)
MetaDataRetrievalgetComponentMetaDataRetrieval in interface MetaDataRetrievalgetComponentMetaDataRetrieval in class BasicMetaDataLoadersignature - the signaturepublic boolean isEmpty()
MetaDataRetrievalCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.