|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PersistenceContexts
PersistenceContexts tracks active persistence contexts within a conversation.
This allows for features such as changing the flush mode of all entity managers to @{linkFlushModeType.MANUAL
during the render response
phase when using seam managed transactions in JSF
Method Summary | |
---|---|
void |
afterRender()
|
void |
beforeRender()
Perform |
void |
changeFlushMode(FlushModeType flushMode)
Changes the flush mode of all persistence contexts in the conversation |
FlushModeType |
getFlushMode()
|
void |
restoreFlushMode()
Restore the previous flush mode if the current flush mode is marked as temporary. |
void |
touch(ManagedPersistenceContext context)
|
void |
untouch(ManagedPersistenceContext context)
|
Method Detail |
---|
FlushModeType getFlushMode()
void changeFlushMode(FlushModeType flushMode)
flushMode
- the new flush modevoid restoreFlushMode()
void beforeRender()
void afterRender()
void touch(ManagedPersistenceContext context)
void untouch(ManagedPersistenceContext context)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |