org.glassfish.persistence.jpa
Class PersistenceUnitLoader

java.lang.Object
  extended by org.glassfish.persistence.jpa.PersistenceUnitLoader

public class PersistenceUnitLoader
extends java.lang.Object

Loads emf corresponding to a PersistenceUnit. Executes java2db if required.

Author:
Mitesh Meswani, Sanjeeb.Sahoo@Sun.COM

Constructor Summary
PersistenceUnitLoader(PersistenceUnitDescriptor puToInstatntiate, ProviderContainerContractInfo providerContainerContractInfo)
           
 
Method Summary
 javax.persistence.EntityManagerFactory getEMF()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersistenceUnitLoader

public PersistenceUnitLoader(PersistenceUnitDescriptor puToInstatntiate,
                             ProviderContainerContractInfo providerContainerContractInfo)
Method Detail

getEMF

public javax.persistence.EntityManagerFactory getEMF()
Returns:
The emf loaded.


Copyright © 2012 GlassFish Community. All Rights Reserved.