Class MetadataSource

  • All Implemented Interfaces:
    MetadataSource

    public class MetadataSource
    extends XMLMetadataSource
    JPA scripting API implementation.
    Since:
    EclipseLink 2.5.1
    Author:
    Guy Pelletier
    • Method Detail

      • getEntityMappings

        public XMLEntityMappings getEntityMappings​(java.util.Map<java.lang.String,​java.lang.Object> properties,
                                                   java.lang.ClassLoader classLoader,
                                                   org.eclipse.persistence.logging.SessionLog log)
        Description copied from class: XMLMetadataSource
        This method is responsible for returning the object representation of the MetadataSource. This implementation makes a call to getEntityMappingsReader to get a Reader which is passed to an XMLUnmarshaller, and closes the reader in a finally block.
        Specified by:
        getEntityMappings in interface MetadataSource
        Overrides:
        getEntityMappings in class XMLMetadataSource
        Returns:
        XMLEntityMappings - object representation of the EclipseLink-orm.xml for this repository