public interface EntityManagerFactoryResolver
| Modifier and Type | Method and Description |
|---|---|
javax.persistence.EntityManagerFactory |
resolve(java.lang.String unitName,
PersistenceOverrides overrides,
java.lang.ClassLoader classLoader)
Resolves the EntityManagerFactory corresponding to the given persistence unit.
|
javax.persistence.EntityManagerFactory resolve(java.lang.String unitName,
PersistenceOverrides overrides,
java.lang.ClassLoader classLoader)
throws org.fabric3.api.host.Fabric3Exception
unitName - persistence unit name.overrides - persistence unit property overridesclassLoader - the classloader to load the persistence XMLorg.fabric3.api.host.Fabric3Exception - if an error occurs building the EMF