EclipseLink 2.3.2, build 'v20111125-r10461' 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 MetadataSource will need to be registered with a persistence unit.


Method Summary
 org.eclipse.persistence.internal.jpa.metadata.xml.XMLEntityMappings getEntityMappings(java.util.Map<java.lang.String,java.lang.Object> properties, java.lang.ClassLoader classLoader, SessionLog log)
          PUBLIC: This method is responsible for returning the object representation of the MetadataSource.
 

Method Detail

getEntityMappings

org.eclipse.persistence.internal.jpa.metadata.xml.XMLEntityMappings getEntityMappings(java.util.Map<java.lang.String,java.lang.Object> properties,
                                                                                      java.lang.ClassLoader classLoader,
                                                                                      SessionLog log)
PUBLIC: This method is responsible for returning the object representation of the MetadataSource. It is called on initial deployment and when the EntityManagerFactoryImpl is reloaded.


EclipseLink 2.3.2, build 'v20111125-r10461' API Reference