org.openorb.ots
Interface ManagerCallbackOperations

All Known Subinterfaces:
ManagerCallback
All Known Implementing Classes:
_ManagerCallbackStub, ManagerCallbackPOA

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

transaction_created

public void transaction_created(Control control,
                                XID id)
This operation is automatically called by this OTS, when a new transaction has been created.

Parameters:
control - the new available control to manage this transaction
id - the transaction XID

transaction_committed

public void transaction_committed(XID id)
This operation is automatically called by this OTS, when a new transaction has been committed.

Parameters:
id - the transaction XID

transaction_rolledback

public void transaction_rolledback(XID id)
This operation is automatically called by this OTS, when a new transaction has been rolledback.

Parameters:
id - the transaction XID

transaction_heuristic

public 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.

Parameters:
id - the transaction XID