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

public class DynamicXMLMetadataSource extends Object implements MetadataSource
MetadataSource used in the creation of dynamic JAXB contexts for applications.
Since:
EclipseLink 2.4.0
  • Constructor Details

    • DynamicXMLMetadataSource

      public DynamicXMLMetadataSource(Session session, String packageName)
  • Method Details

    • getXmlBindings

      public XmlBindings getXmlBindings(Map<String,?> properties, 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