|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
To manage transactions, a user has to register a ManagerCallback object to the OTS manager. By this way, the user manager will be notified when transactions begin, commit or rollback.
Method Summary | |
void |
transaction_committed(XID id)
This operation is automatically called by this OTS, when a new transaction has been committed. |
void |
transaction_created(Control control,
XID id)
This operation is automatically called by this OTS, when a new transaction has been created. |
void |
transaction_heuristic(XID id,
HeuristicKind heuristic)
This operation is automatically called by this OTS, when a new transaction has been committed or rolledback with an heuristic. |
void |
transaction_rolledback(XID id)
This operation is automatically called by this OTS, when a new transaction has been rolledback. |
Method Detail |
public void transaction_created(Control control, XID id)
control
- the new available control to manage this transactionid
- the transaction XIDpublic void transaction_committed(XID id)
id
- the transaction XIDpublic void transaction_rolledback(XID id)
id
- the transaction XIDpublic void transaction_heuristic(XID id, HeuristicKind heuristic)
id
- the transaction XID
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |