Class 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
    Since:
    EclipseLink 2.4.0
    • Constructor Detail

      • DynamicXMLMetadataSource

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

      • 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