Implementation of the JPA {@link EntityManagerFactory} class to support creating Empire based{@link EntityManager EntityManagers}. Uses an instance of a {@link com.clarkparsia.empire.ds.DataSourceFactory} to dynamicallycreate the DataSource used by the new EntityManager on the fly.
@author Michael Grove @since 0.1 @version 0.7Purpose: Provides the implementation for the EntityManager Factory.
Description: This class will store a reference to the active ServerSession. When a request is made for an EntityManager an new EntityManager is created with the ServerSession and returned. The primary consumer of these EntityManager is assumed to be either the Container. There is one EntityManagerFactory per deployment. @see javax.persistence.EntityManager @see oracle.toplink.essentials.ejb.cmp3.EntityManager @see oracle.toplink.essentials.ejb.cmp3.EntityManagerFactory
Purpose: Provides the implementation for the EntityManager Factory.
Description: This class will store a reference to the active ServerSession. When a request is made for an EntityManager an new EntityManager is created with the ServerSession and returned. The primary consumer of these EntityManager is assumed to be either the Container. There is one EntityManagerFactory per deployment. @see javax.persistence.EntityManager @see org.eclipse.persistence.jpa.JpaEntityManager @see org.eclipse.persistence.jpa.EntityManagerFactory @author gyorke @since TopLink 10.1.3 EJB 3.0 Preview
|
|
|
|