|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The interface reflects a demarcable transaction. Using its methods, it is possible to start and finish the corresponding transaction.
| Method Summary | |
void |
abort()
Aborts transaction. |
void |
begin()
Begins transaction. |
void |
commit()
Commits transaction. |
| Method Detail |
public void begin()
throws InvalidStateException
InvalidStateException - if the transaction is in a state different from
Interrogable.STATUS_NO_TRANSACTION
public void commit()
throws TransactionAbortedException,
InvalidStateException
TransactionAbortedException - commit of the transaction did
not succeeded and the transaction has been aborted
InvalidStateException - if the transaction is in a state different from
Interrogable.STATUS_ACTIVE
public void abort()
throws InvalidStateException
InvalidStateException - if the transaction is in a state different from
Interrogable.STATUS_ACTIVE
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||