org.apache.openejb.assembler.classic
Class PersistenceBuilder
java.lang.Object
org.apache.openejb.assembler.classic.PersistenceBuilder
public class PersistenceBuilder
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
public static final Logger logger
PersistenceBuilder
public PersistenceBuilder(PersistenceClassLoaderHandler persistenceClassLoaderHandler)
createEntityManagerFactory
public ReloadableEntityManagerFactory createEntityManagerFactory(PersistenceUnitInfo info,
ClassLoader classLoader)
throws Exception
- Throws:
Exception
getOpenEJBJndiName
public static String getOpenEJBJndiName(String unit)
createEmf
public static javax.persistence.EntityManagerFactory createEmf(ClassLoader classLoader,
Callable<javax.persistence.EntityManagerFactory> callable)
throws ExecutionException,
TimeoutException,
InterruptedException
- Throws:
ExecutionException
TimeoutException
InterruptedException
Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.