public abstract class EntityManagerLookupAware extends Object implements UpdatableContext<javax.persistence.EntityManager>
EntityManager
Constructor and Description |
---|
EntityManagerLookupAware() |
Modifier and Type | Method and Description |
---|---|
javax.persistence.EntityManager |
getEntityManager() |
org.apache.commons.collections.Transformer |
getEntityManagerProvider()
Since
EntityManager is transient, in certain situations it may need to be re-acquired |
void |
setEntityManager(javax.persistence.EntityManager entityManager) |
void |
setEntityManagerProvider(org.apache.commons.collections.Transformer entityManagerProvider)
Since
EntityManager is transient, in certain situations it may need to be re-acquired |
void |
updateContext(javax.persistence.EntityManager em) |
public javax.persistence.EntityManager getEntityManager()
public void setEntityManager(javax.persistence.EntityManager entityManager)
public void updateContext(javax.persistence.EntityManager em)
updateContext
in interface UpdatableContext<javax.persistence.EntityManager>
public org.apache.commons.collections.Transformer getEntityManagerProvider()
EntityManager
is transient, in certain situations it may need to be re-acquiredpublic void setEntityManagerProvider(org.apache.commons.collections.Transformer entityManagerProvider)
EntityManager
is transient, in certain situations it may need to be re-acquiredCopyright © 2018. All rights reserved.