|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface ManagerCallbackOperations
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 |
|---|
void transaction_created(Control control,
XID id)
control - the new available control to manage this transactionid - the transaction XIDvoid transaction_committed(XID id)
id - the transaction XIDvoid transaction_rolledback(XID id)
id - the transaction XID
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 | |||||||