org.openorb.ots.Admin

Class Manager

public class Manager extends ManagerPOA

This class is a manager for the OpenORB OTS.

Author: Jerome Daniel

Constructor Summary
Manager(POA poa)
Method Summary
Control[]currentTransactions(ManagerCallback callback)
Return all the controls for current transactions.
ListgetControls()
static voidnotifyCommit(XID xid)
This function is used to receive notification for a transaction commit.
static voidnotifyHeuristic(XID xid, HeuristicKind heuristic)
This function is used to receive notification for an heuristic decision.
voidnotifyNewTransaction(Control ctrl, XID xid)
This function is used to receive notification for a new transaction.
static voidnotifyRollback(XID xid)
This function is used to receive notification for a transaction rollback.

Constructor Detail

Manager

public Manager(POA poa)

Method Detail

currentTransactions

public Control[] currentTransactions(ManagerCallback callback)
Return all the controls for current transactions. By this way, it is possible to get access to the coordinator or the terminator to mage transacton management.

getControls

public List getControls()

notifyCommit

public static void notifyCommit(XID xid)
This function is used to receive notification for a transaction commit.

notifyHeuristic

public static void notifyHeuristic(XID xid, HeuristicKind heuristic)
This function is used to receive notification for an heuristic decision.

notifyNewTransaction

public void notifyNewTransaction(Control ctrl, XID xid)
This function is used to receive notification for a new transaction.

notifyRollback

public static void notifyRollback(XID xid)
This function is used to receive notification for a transaction rollback.