org.openorb.ots.Admin
Class Manager
java.lang.Object
|
+--org.omg.PortableServer.Servant
|
+--org.openorb.ots.ManagerPOA
|
+--org.openorb.ots.Admin.Manager
- All Implemented Interfaces:
- org.omg.CORBA.portable.InvokeHandler, ManagerOperations
- public class Manager
- extends ManagerPOA
This class is a manager for the OpenORB OTS.
- Author:
- Jerome Daniel
|
Constructor Summary |
Manager(org.omg.PortableServer.POA poa)
|
| Methods inherited from class org.omg.PortableServer.Servant |
_default_POA, _get_delegate, _get_interface_def, _get_interface, _is_a, _non_existent, _object_id, _orb, _orb, _poa, _set_delegate, _this_object, _this_object |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Manager
public Manager(org.omg.PortableServer.POA poa)
getControls
public java.util.List getControls()
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.
notifyNewTransaction
public void notifyNewTransaction(Control ctrl,
XID xid)
- This function is used to receive notification for a new transaction.
notifyCommit
public static void notifyCommit(XID xid)
- This function is used to receive notification for a transaction commit.
notifyRollback
public static void notifyRollback(XID xid)
- This function is used to receive notification for a transaction rollback.
notifyHeuristic
public static void notifyHeuristic(XID xid,
HeuristicKind heuristic)
- This function is used to receive notification for an heuristic decision.