org.omg.CosTransactions
Interface Control

All Known Implementing Classes:
_ControlStub

public interface Control
extends org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity

The Control interface allows a program to explicitly manage or propagate a transaction context. An object that supports the Control interface is implicitly associated with one specific transaction.


Method Summary
 Coordinator get_coordinator()
           
 Terminator get_terminator()
          Returns a Terminator object, which supports methods to end the transaction.
 
Methods inherited from interface org.omg.CORBA.Object
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
 

Method Detail

get_terminator

public Terminator get_terminator()
                          throws Unavailable
Returns a Terminator object, which supports methods to end the transaction. The object can be used to roll back or commit the transaction associated with the Control interface. This implementation of the Transaction Service always raises the Unavailable exception.

get_coordinator

public Coordinator get_coordinator()
                            throws Unavailable