Package org.apache.openjpa.persistence
Class AnnotationPersistenceXMLMetaDataParser
java.lang.Object
org.apache.openjpa.persistence.AnnotationPersistenceXMLMetaDataParser
JAXB xml annotation metadata parser.
- Since:
- 1.0.0
- Author:
- Catalina Wei
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor; supply configuration. -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Clear caches.Configuration supplied on construction.getLog()Metadata log.Returns the repository for this parser.voidParse persistence metadata for the given field metadata.voidsetRepository(MetaDataRepository repos) Set the metadata repository for this parser.
-
Constructor Details
-
AnnotationPersistenceXMLMetaDataParser
Constructor; supply configuration.
-
-
Method Details
-
getConfiguration
Configuration supplied on construction. -
getLog
Metadata log. -
getRepository
Returns the repository for this parser. If none has been set, create a new repository and sets it. -
setRepository
Set the metadata repository for this parser. -
clear
public void clear()Clear caches. -
parse
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.
-