|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.cocome.tradingsystem.inventory.data.persistence.impl.PersistenceContextImpl
public class PersistenceContextImpl
Constructor Summary | |
---|---|
PersistenceContextImpl(javax.persistence.EntityManager em)
|
Method Summary | |
---|---|
void |
close()
disposes the current PersistenceContext. |
javax.persistence.EntityManager |
getEntityManager()
|
TransactionContext |
getTransactionContext()
|
void |
makePersistent(java.lang.Object o)
persists the given object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PersistenceContextImpl(javax.persistence.EntityManager em)
Method Detail |
---|
public javax.persistence.EntityManager getEntityManager()
public TransactionContext getTransactionContext()
getTransactionContext
in interface PersistenceContext
public void makePersistent(java.lang.Object o)
PersistenceContext
makePersistent
in interface PersistenceContext
o
- the object to be persistedpublic void close()
PersistenceContext
close
in interface PersistenceContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |