public class DynamicXMLMetadataSource extends java.lang.Object implements MetadataSource
MetadataSource
used in the creation of dynamic JAXB contexts for applications.Constructor and Description |
---|
DynamicXMLMetadataSource(org.eclipse.persistence.internal.sessions.AbstractSession session,
java.lang.String packageName) |
Modifier and Type | Method and Description |
---|---|
XmlBindings |
getXmlBindings(java.util.Map<java.lang.String,?> properties,
java.lang.ClassLoader classLoader) |
public DynamicXMLMetadataSource(org.eclipse.persistence.internal.sessions.AbstractSession session, java.lang.String packageName)
public XmlBindings getXmlBindings(java.util.Map<java.lang.String,?> properties, java.lang.ClassLoader classLoader)
getXmlBindings
in interface MetadataSource
properties
- - The properties passed in to create the JAXBContextclassLoader
- - The ClassLoader passed in to create the JAXBContext