- 
- All Known Implementing Classes:
 AbstractAnnotationReader
public interface AnnotationReaderInterface defining the access to MetaData derived from Annotations. An annotation reader supports particular annotations packages. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AbstractClassMetaDatagetMetaDataForClass(Class cls, PackageMetaData pmd, ClassLoaderResolver clr)Method to get the MetaData for a class from its annotations.String[]getSupportedAnnotationPackages()Accessor for the annotations packages supported by this reader.booleanisPersistenceContext()Method to return whether this is reading in a persistence context. 
 - 
 
- 
- 
Method Detail
- 
getSupportedAnnotationPackages
String[] getSupportedAnnotationPackages()
Accessor for the annotations packages supported by this reader.- Returns:
 - The annotations packages that will be processed.
 
 
- 
getMetaDataForClass
AbstractClassMetaData getMetaDataForClass(Class cls, PackageMetaData pmd, ClassLoaderResolver clr)
Method to get the MetaData for a class from its annotations.- Parameters:
 cls- The classpmd- MetaData for the owning package (that this will be a child of)clr- ClassLoader resolver- Returns:
 - The ClassMetaData (unpopulated and uninitialised)
 
 
- 
isPersistenceContext
boolean isPersistenceContext()
Method to return whether this is reading in a persistence context.- Returns:
 - Whether this is a persistence context
 
 
 - 
 
 -