org.openorb.ots.Impl

Class PseudoControl

public class PseudoControl extends LocalObject implements 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.

Author: Jerome Daniel

Constructor Summary
PseudoControl(Coordinator coord, Terminator term)
Constructor.
Method Summary
Coordinatorget_coordinator()
Return the coordinator
Terminatorget_terminator()
Return the terminator

Constructor Detail

PseudoControl

public PseudoControl(Coordinator coord, Terminator term)
Constructor. The parameters are the coordinator and terminator references.

Method Detail

get_coordinator

public Coordinator get_coordinator()
Return the coordinator

get_terminator

public Terminator get_terminator()
Return the terminator