|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.omg.PortableServer.Servant
org.omg.CosTransactions.ControlPOA
org.openorb.ots.Impl.Control
public class Control
This class is the implementation of the Control interface.
| Constructor Summary | |
|---|---|
Control(int time_out,
Manager manager,
PropagationContext ctx,
TransactionFactory factory,
org.omg.PortableServer.POA poa,
org.omg.PortableServer.POA recovery_poa,
org.apache.avalon.framework.logger.Logger logger)
Constructor |
|
Control(int time_out,
Manager manager,
XID parent_xid,
org.omg.PortableServer.POA poa,
TransIdentity[] parents,
org.apache.avalon.framework.logger.Logger logger)
This constructor is used to create a sub transaction. |
|
| Method Summary | |
|---|---|
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. |
Coordinator |
getCoordinator()
|
SubTransTerminator |
getSubTransTerminator()
|
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. |
| Methods inherited from class org.omg.CosTransactions.ControlPOA |
|---|
_all_interfaces, _invoke, _this, _this |
| Methods inherited from class org.omg.PortableServer.Servant |
|---|
_default_POA, _get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Control(int time_out,
Manager manager,
PropagationContext ctx,
TransactionFactory factory,
org.omg.PortableServer.POA poa,
org.omg.PortableServer.POA recovery_poa,
org.apache.avalon.framework.logger.Logger logger)
public Control(int time_out,
Manager manager,
XID parent_xid,
org.omg.PortableServer.POA poa,
TransIdentity[] parents,
org.apache.avalon.framework.logger.Logger logger)
| Method Detail |
|---|
public SubTransTerminator getSubTransTerminator()
public Coordinator getCoordinator()
public Terminator get_terminator()
throws Unavailable
Unavailable - The Unavailable exception may be raised
if the Control cannot provide the requested object.
public Coordinator get_coordinator()
throws Unavailable
Unavailable - The Unavailable exception may be
raised if the control cannot provide the requested object.public void update()
public void removeItself()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||