|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ManagedPersistenceContext
Support for additional operations for all seam managed persistence contexts.
Method Summary | |
---|---|
void |
changeFlushMode(FlushModeType flushMode)
changes the flush mode of the persistence context. |
void |
closeAfterTransaction()
Closes the persistence context after the current transaction has completed. |
Class<?> |
getBeanType()
Returns the type of this persistence context. |
SeamPersistenceProvider |
getProvider()
Returns the appropriate SeamPersistenceProvider implementation for
this persistence context. |
Set<Annotation> |
getQualifiers()
|
Method Detail |
---|
void changeFlushMode(FlushModeType flushMode)
SeamPersistenceProvider
supports it.
flushMode
- the new flush modeSet<Annotation> getQualifiers()
Class<?> getBeanType()
javax.persistence.EntityManager
. For pure
hibernate PC's this will be org.hibernate.Session
SeamPersistenceProvider getProvider()
SeamPersistenceProvider
implementation for
this persistence context.
void closeAfterTransaction()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |