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() |
retrieveMetaData
getScope, getScopedRetrieval, getValidTime, invalidate, isCachable, retrieveAnnotationsAnnotatedWith, retrieveLocalAnnotations, retrieveLocalMetaData, retrieveMetaData, retrieveMetaData
public AnnotatedElementMetaDataLoader(AnnotatedElement annotated)
annotated
- the annotated elementpublic AnnotationsItem retrieveAnnotations()
MetaDataRetrieval
public <T extends Annotation> AnnotationItem<T> retrieveAnnotation(Class<T> annotationType)
MetaDataRetrieval
retrieveAnnotation
in interface MetaDataRetrieval
retrieveAnnotation
in class BasicMetaDataLoader
T
- the annotation typeannotationType
- the annotation typepublic MetaDataRetrieval getComponentMetaDataRetrieval(Signature signature)
MetaDataRetrieval
getComponentMetaDataRetrieval
in interface MetaDataRetrieval
getComponentMetaDataRetrieval
in class BasicMetaDataLoader
signature
- the signaturepublic boolean isEmpty()
MetaDataRetrieval
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.