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>


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

Constructor Detail

EntityManagerFactoryCallable

public EntityManagerFactoryCallable(String persistenceProviderClassName,
                                    PersistenceUnitInfoImpl unitInfo)
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()


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