1 22 package org.jboss.metadata.spi.retrieval; 23 24 import java.lang.annotation.Annotation ; 25 26 import org.jboss.metadata.spi.scope.ScopeKey; 27 28 34 public interface MetaDataRetrieval 35 { 36 41 ScopeKey getScope(); 42 43 48 ValidTime getValidTime(); 49 50 55 AnnotationsItem retrieveAnnotations(); 56 57 62 AnnotationsItem retrieveLocalAnnotations(); 63 64 71 <T extends Annotation > AnnotationItem<T> retrieveAnnotation(Class <T> annotationType); 72 73 78 MetaDatasItem retrieveMetaData(); 79 80 85 MetaDatasItem retrieveLocalMetaData(); 86 87 94 <T> MetaDataItem<T> retrieveMetaData(Class <T> type); 95 96 102 MetaDataItem retrieveMetaData(String name); 103 } 104 | Popular Tags |