tyrex.tm.impl
final class ControlImpl extends _ControlImplBase implements Control, RecoveryCoordinator
Control objects are produced directly only by TransactionImpl and indirectly by TransactionFactory.
Version: $Revision: 1.4 $ $Date: 2001/03/21 20:02:48 $
See Also:
Changes
J. Daniel : Changed code to be compliant with CORBA developing rules.
| Field Summary | |
|---|---|
| protected TransIdentity[] | _parents
The list of parents of this transaction, the immediate parent
at index 0 and the top level parent at index n-1. |
| protected TransactionImpl | _tx
The underlying transaction to which this control serves
as an interface. |
| Constructor Summary | |
|---|---|
| ControlImpl(TransactionImpl tx, PropagationContext pgContext)
Creates a new control for a transaction that has been imported
using the specified propagation context. | |
| ControlImpl(TransactionImpl tx)
Creates a new control for a local transaction that could be
used to propagate the transaction to a different server.
| |
| Method Summary | |
|---|---|
| protected void | deactivate()
This operation is used to deactivate all CORBA objects. |
| protected Coordinator | getCoordinator() |
| protected TransIdentity | getIdentity() |
| protected PropagationContext | getPropagationContext() |
| protected Terminator | getTerminator() |
| TransactionImpl | getTransaction()
Return the transaction object which this control interface
represents. |
| Coordinator | get_coordinator() |
| Terminator | get_terminator() |
| Status | replay_completion(Resource resource) |
Parameters: tx The local transaction pgContext The propagation context
Parameters: tx The local transaction