public class DynamicXmlV2MetadataSource extends java.lang.Object implements MetadataSource
MetadataSource
used in the creation of dynamic JAXB contexts
for applications in JPARS v2.0.Constructor and Description |
---|
DynamicXmlV2MetadataSource(org.eclipse.persistence.internal.sessions.AbstractSession session,
java.lang.String packageName)
Creates a new DynamicXmlV2MetadataSource.
|
Modifier and Type | Method and Description |
---|---|
XmlBindings |
getXmlBindings(java.util.Map<java.lang.String,?> properties,
java.lang.ClassLoader classLoader) |
public DynamicXmlV2MetadataSource(org.eclipse.persistence.internal.sessions.AbstractSession session, java.lang.String packageName)
session
- the session.packageName
- the package name to process.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