Module eclipselink
Class DynamicXmlV2MetadataSource
- java.lang.Object
-
- org.eclipse.persistence.jpa.rs.util.metadatasources.DynamicXmlV2MetadataSource
-
- All Implemented Interfaces:
MetadataSource
public class DynamicXmlV2MetadataSource extends Object implements MetadataSource
MetadataSourceused in the creation of dynamic JAXB contexts for applications in JPARS v2.0.- Author:
- Dmitry Kornilov
- Since:
- EclipseLink 2.6.0
-
-
Constructor Summary
Constructors Constructor Description DynamicXmlV2MetadataSource(Session session, String packageName)Creates a new DynamicXmlV2MetadataSource.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XmlBindingsgetXmlBindings(Map<String,?> properties, ClassLoader classLoader)
-
-
-
Method Detail
-
getXmlBindings
public XmlBindings getXmlBindings(Map<String,?> properties, ClassLoader classLoader)
- Specified by:
getXmlBindingsin 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
-
-