Package org.apache.openjpa.persistence
Class AnnotationPersistenceXMLMetaDataParser
- java.lang.Object
- 
- org.apache.openjpa.persistence.AnnotationPersistenceXMLMetaDataParser
 
- 
 public class AnnotationPersistenceXMLMetaDataParser extends java.lang.ObjectJAXB xml annotation metadata parser.- Since:
- 1.0.0
- Author:
- Catalina Wei
 
- 
- 
Constructor SummaryConstructors Constructor Description AnnotationPersistenceXMLMetaDataParser(OpenJPAConfiguration conf)Constructor; supply configuration.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()Clear caches.OpenJPAConfigurationgetConfiguration()Configuration supplied on construction.LoggetLog()Metadata log.MetaDataRepositorygetRepository()Returns the repository for this parser.voidparse(java.lang.Class<?> cls)Parse persistence metadata for the given field metadata.voidsetRepository(MetaDataRepository repos)Set the metadata repository for this parser.
 
- 
- 
- 
Constructor Detail- 
AnnotationPersistenceXMLMetaDataParserpublic AnnotationPersistenceXMLMetaDataParser(OpenJPAConfiguration conf) Constructor; supply configuration.
 
- 
 - 
Method Detail- 
getConfigurationpublic OpenJPAConfiguration getConfiguration() Configuration supplied on construction.
 - 
getLogpublic Log getLog() Metadata log.
 - 
getRepositorypublic MetaDataRepository getRepository() Returns the repository for this parser. If none has been set, create a new repository and sets it.
 - 
setRepositorypublic void setRepository(MetaDataRepository repos) Set the metadata repository for this parser.
 - 
clearpublic void clear() Clear caches.
 - 
parsepublic void parse(java.lang.Class<?> cls) Parse persistence metadata for the given field metadata. This parser/class is NOT threadsafe! The caller of this method needs to insure that the MetaData(/Mapping)Repository is locked prior to calling this method.
 
- 
 
-