tyrex.corba
Class PseudoControl
tyrex.corba.PseudoControl
- All Implemented Interfaces:
- org.omg.CosTransactions.Control, org.omg.CosTransactions.ControlOperations, org.omg.CORBA.portable.IDLEntity, org.omg.CORBA.Object, java.io.Serializable
- public class PseudoControl
- implements org.omg.CosTransactions.Control
This object is used to provide a pseudo control object. On the client and server sides, the control object cannot be
found ( since its reference is not set in the propagation context ). However, this object only provides two accessors to
get the coordinator and the terminator. These objects reference are set in the propagation context, so it is possible
to simulate the original control object.
- Version:
- 1.0
- Author:
- Jerome Daniel
- See Also:
- Serialized Form
Constructor Summary |
PseudoControl(org.omg.CosTransactions.Coordinator coord,
org.omg.CosTransactions.Terminator term)
Constructor. |
Method Summary |
org.omg.CosTransactions.Coordinator |
get_coordinator()
Return the coordinator |
org.omg.CosTransactions.Terminator |
get_terminator()
Return the terminator |
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 |
PseudoControl
public PseudoControl(org.omg.CosTransactions.Coordinator coord,
org.omg.CosTransactions.Terminator term)
- Constructor. The parameters are the coordinator and terminator references.
get_terminator
public org.omg.CosTransactions.Terminator get_terminator()
throws org.omg.CosTransactions.Unavailable
- Return the terminator
- Specified by:
get_terminator
in interface org.omg.CosTransactions.ControlOperations
get_coordinator
public org.omg.CosTransactions.Coordinator get_coordinator()
throws org.omg.CosTransactions.Unavailable
- Return the coordinator
- Specified by:
get_coordinator
in interface org.omg.CosTransactions.ControlOperations
Intalio Inc. (C) 1999-2001. All rights reserved.