Class DynamicXMLMetadataSource

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.
Author:
dclarke
  • Constructor Details

    • DynamicXMLMetadataSource

      public DynamicXMLMetadataSource(org.eclipse.persistence.internal.sessions.AbstractSession 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