|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents a transaction runtime environment. The one that created it manages the transaction.
Method Summary | |
void |
beginTransaction()
Gets notified whenever the transaction starts. |
void |
endTransaction()
Takes into account that the transaction is over. |
boolean |
isRollbackPending()
Checks the need for a rollback of the whole transaction. |
boolean |
isTransactionAlive()
Checks if there's any active transaction. |
void |
release()
Releases the transaction. |
void |
setRollbackPending(boolean flag)
Sets the need for a rollback of the whole transaction. |
Method Detail |
public boolean isTransactionAlive()
public void beginTransaction()
public void release()
public void endTransaction()
public void setRollbackPending(boolean flag)
flag
- to indicate to rollback the transaction.public boolean isRollbackPending()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |