Class XRServiceFactory.OXMMetadataSource

java.lang.Object
org.eclipse.persistence.internal.xr.XRServiceFactory.OXMMetadataSource
All Implemented Interfaces:
MetadataSource
Enclosing class:
XRServiceFactory

public static final class XRServiceFactory.OXMMetadataSource extends Object implements MetadataSource

INTERNAL: Implementation of MetadataSource to allow passing XmlBindings to the DynamicJAXBContextFactory

  • Constructor Details

    • OXMMetadataSource

      public OXMMetadataSource(XmlBindings bindings)
  • 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