org.apache.openejb.assembler.classic
Class EntityManagerFactoryCallable

java.lang.Object
  extended by org.apache.openejb.assembler.classic.EntityManagerFactoryCallable
All Implemented Interfaces:
Callable<javax.persistence.EntityManagerFactory>

public class EntityManagerFactoryCallable
extends Object
implements Callable<javax.persistence.EntityManagerFactory>


Field Summary
static String OPENEJB_JPA_INIT_ENTITYMANAGER
           
 
Constructor Summary
EntityManagerFactoryCallable(String persistenceProviderClassName, PersistenceUnitInfoImpl unitInfo, ClassLoader cl)
           
 
Method Summary
 javax.persistence.EntityManagerFactory call()
           
 PersistenceUnitInfoImpl getUnitInfo()
           
 void overrideClassLoader(ClassLoader loader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OPENEJB_JPA_INIT_ENTITYMANAGER

public static final String OPENEJB_JPA_INIT_ENTITYMANAGER
See Also:
Constant Field Values
Constructor Detail

EntityManagerFactoryCallable

public EntityManagerFactoryCallable(String persistenceProviderClassName,
                                    PersistenceUnitInfoImpl unitInfo,
                                    ClassLoader cl)
Method Detail

call

public javax.persistence.EntityManagerFactory call()
                                            throws Exception
Specified by:
call in interface Callable<javax.persistence.EntityManagerFactory>
Throws:
Exception

getUnitInfo

public PersistenceUnitInfoImpl getUnitInfo()

overrideClassLoader

public void overrideClassLoader(ClassLoader loader)


Copyright © 1999-2013 The Apache Software Foundation. All Rights Reserved.