org.openorb.ots.Impl
public class Control extends ControlPOA
Constructor Summary | |
---|---|
Control(int time_out, Manager manager, PropagationContext ctx, TransactionFactory factory, POA poa, POA recovery_poa, Logger logger)
Constructor | |
Control(int time_out, Manager manager, XID parent_xid, POA poa, TransIdentity[] parents, Logger logger)
This constructor is used to create a sub transaction. |
Method Summary | |
---|---|
Coordinator | getCoordinator() |
SubTransTerminator | getSubTransTerminator() |
Coordinator | get_coordinator()
This operation returns a Coordinator object, which supports operations needed by
resources to participate in the transaction.
|
Terminator | get_terminator()
This operation returns a Terminator object, which supports operations to end
the transaction.
|
void | removeItself()
This operation is used to remove this object from the POA |
void | update()
This operation is called by the transaction factory to update the coordinator data after the
control creation completion. |
Returns: An object is returned that supports the Coordinator interface. The object can be used to register resources for the transaction associated with the Control.
Throws: org.omg.CosTransactions.Unavailable The Unavailable exception may be raised if the control cannot provide the requested object.
Returns: An object is returned that supports the Terminator interface. The object can be used to rollback or commit the transaction associated with the Control.
Throws: org.omg.CosTransactions.Unavailable The Unavailable exception may be raised if the Control cannot provide the requested object.