public class EntityManagerFactoryCallable
extends java.lang.Object
implements java.util.concurrent.Callable<EntityManagerFactory>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
OPENEJB_JPA_INIT_ENTITYMANAGER |
static java.lang.String |
OPENJPA_ENTITY_MANAGER_FACTORY_POOL |
Constructor and Description |
---|
EntityManagerFactoryCallable(java.lang.String persistenceProviderClassName,
PersistenceUnitInfoImpl unitInfo,
java.lang.ClassLoader cl,
java.util.Map<ComparableValidationConfig,ValidatorFactory> validators,
boolean hasCdi) |
Modifier and Type | Method and Description |
---|---|
EntityManagerFactory |
call() |
java.lang.Class<?> |
getProvider() |
PersistenceUnitInfoImpl |
getUnitInfo() |
void |
overrideClassLoader(java.lang.ClassLoader loader) |
public static final java.lang.String OPENEJB_JPA_INIT_ENTITYMANAGER
public static final java.lang.String OPENJPA_ENTITY_MANAGER_FACTORY_POOL
public EntityManagerFactoryCallable(java.lang.String persistenceProviderClassName, PersistenceUnitInfoImpl unitInfo, java.lang.ClassLoader cl, java.util.Map<ComparableValidationConfig,ValidatorFactory> validators, boolean hasCdi)
public java.lang.Class<?> getProvider()
public EntityManagerFactory call() throws java.lang.Exception
call
in interface java.util.concurrent.Callable<EntityManagerFactory>
java.lang.Exception
public PersistenceUnitInfoImpl getUnitInfo()
public void overrideClassLoader(java.lang.ClassLoader loader)