EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

org.eclipse.persistence.jpa.rs.util.metadatasources
Class DynamicXMLMetadataSource

java.lang.Object
  extended by org.eclipse.persistence.jpa.rs.util.metadatasources.DynamicXMLMetadataSource
All Implemented Interfaces:
MetadataSource

public class DynamicXMLMetadataSource
extends java.lang.Object
implements MetadataSource

MetadataSource used in the creation of dynamic JAXB contexts for applications.

Author:
dclarke
Since:
EclipseLink 2.4.0

Constructor Summary
DynamicXMLMetadataSource(org.eclipse.persistence.internal.sessions.AbstractSession session, java.lang.String packageName)
           
 
Method Summary
 XmlBindings getXmlBindings(java.util.Map<java.lang.String,?> properties, java.lang.ClassLoader classLoader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynamicXMLMetadataSource

public DynamicXMLMetadataSource(org.eclipse.persistence.internal.sessions.AbstractSession session,
                                java.lang.String packageName)
Method Detail

getXmlBindings

public XmlBindings getXmlBindings(java.util.Map<java.lang.String,?> properties,
                                  java.lang.ClassLoader classLoader)
Specified by:
getXmlBindings in interface MetadataSource
Parameters:
properties - - The properties passed in to create the JAXBContext
classLoader - - The ClassLoader passed in to create the JAXBContext
Returns:
the XmlBindings object representing the metadata

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference