|
Fabric3 JPA/Hibernate Extension | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EntityManagerFactoryCache
A cache of EntityManagerFactory instances.
| Method Summary | |
|---|---|
javax.persistence.EntityManagerFactory |
get(String unitName)
Returns the EntityManagerFactory for the given persistence unit name |
void |
put(URI uri,
String unitName,
javax.persistence.EntityManagerFactory factory)
Caches an EntityManagerFactory. |
| Method Detail |
|---|
javax.persistence.EntityManagerFactory get(String unitName)
unitName - the persistence unit name
void put(URI uri,
String unitName,
javax.persistence.EntityManagerFactory factory)
throws JpaResolutionException
uri - the URI of the contribution the persistence unit is defined inunitName - the persistence unit namefactory - the EntityManagerFactory to cache
JpaResolutionException - if there is an error caching the EntityManagerFactory
|
Fabric3 JPA/Hibernate Extension | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||