Class DynamicXMLMetadataSource
java.lang.Object
org.eclipse.persistence.jpa.rs.util.metadatasources.DynamicXMLMetadataSource
- All Implemented Interfaces:
MetadataSource
MetadataSource
used in the creation of dynamic JAXB contexts for applications.- Author:
- dclarke
-
Constructor Summary
ConstructorDescriptionDynamicXMLMetadataSource
(org.eclipse.persistence.internal.sessions.AbstractSession session, String packageName) -
Method Summary
Modifier and TypeMethodDescriptiongetXmlBindings
(Map<String, ?> properties, ClassLoader classLoader)
-
Constructor Details
-
DynamicXMLMetadataSource
public DynamicXMLMetadataSource(org.eclipse.persistence.internal.sessions.AbstractSession session, String packageName)
-
-
Method Details
-
getXmlBindings
- Specified by:
getXmlBindings
in interfaceMetadataSource
- Parameters:
properties
- - The properties passed in to create the JAXBContextclassLoader
- - The ClassLoader passed in to create the JAXBContext- Returns:
- the XmlBindings object representing the metadata
-