|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.adeptia.indigo.storage.EntityManagerFactory
public class EntityManagerFactory
Entity manager factory
| Method Summary | |
|---|---|
static EntityManager |
getEntityManager(java.lang.Class targetType)
Retrieve an entity manager for the targetType. |
static EntityManager |
getEntityManager(java.lang.Class targetType,
javax.security.auth.Subject subject)
Retrieve an entity manager for the targetType. |
static EntityManager |
getEntityManager(java.lang.String beanType,
javax.security.auth.Subject subject)
|
static int |
getEntityManagerCollection(java.lang.String[] services,
javax.security.auth.Subject subject)
|
static void |
init()
initialize the factory with some defaults |
static void |
registerManager(java.lang.Class targetType,
java.lang.Class managerClass)
register an entity manager for a class |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void init()
public static void registerManager(java.lang.Class targetType,
java.lang.Class managerClass)
targetType - managerClass -
public static EntityManager getEntityManager(java.lang.String beanType,
javax.security.auth.Subject subject)
throws com.adeptia.indigo.storage.StorageException
com.adeptia.indigo.storage.StorageException
public static EntityManager getEntityManager(java.lang.Class targetType)
throws com.adeptia.indigo.storage.StorageException
targetType -
com.adeptia.indigo.storage.StorageException
public static EntityManager getEntityManager(java.lang.Class targetType,
javax.security.auth.Subject subject)
throws com.adeptia.indigo.storage.StorageException
targetType - subject -
java.lang.InstantiationException
java.lang.IllegalAccessException
com.adeptia.indigo.storage.StorageException
public static int getEntityManagerCollection(java.lang.String[] services,
javax.security.auth.Subject subject)
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||