EclipseLink 2.3.0, build 'v20110516-r9382' API Reference

org.eclipse.persistence.jpa.metadata
Interface MetadataSource

All Known Implementing Classes:
MetadataSourceAdapter, XMLMetadataSource

public interface MetadataSource

Purpose: Interface used to support extensible metadata and mappings by a persistence unit. A MetadataRepository will need to be registered with a persistence unit.


Method Summary
 org.eclipse.persistence.internal.jpa.metadata.xml.XMLEntityMappings getEntityMappings(java.util.Map properties, java.lang.ClassLoader classLoader, SessionLog log)
          PUBLIC: This is used to return the object representation of the mappings used by EclipseLink from the repository.
 

Method Detail

getEntityMappings

org.eclipse.persistence.internal.jpa.metadata.xml.XMLEntityMappings getEntityMappings(java.util.Map properties,
                                                                                      java.lang.ClassLoader classLoader,
                                                                                      SessionLog log)
PUBLIC: This is used to return the object representation of the mappings used by EclipseLink from the repository. It is called on initial deployment and when the EntityManagerFactoryImpl is reloaded.


EclipseLink 2.3.0, build 'v20110516-r9382' API Reference