|
|||||||||
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.ResourcePOA
org.omg.CosTransactions.ResourcePOATie
The Transaction Service uses a two-phase commitment protocol to complete a top-level transaction with each registered resource. The Resource interface defines the operations invoked by the transaction service on each resource. Each object supporting the Resource interface is implicitly associated with a single top-level transaction. Note that in the case of failure, the completion sequence will continue after the failure is repaired. A resource should be prepared to receive duplicate requests for the commit or rollback operation and to respond consistently.
Constructor Summary | |
ResourcePOATie(ResourceOperations tieObject)
Constructor |
|
ResourcePOATie(ResourceOperations tieObject,
org.omg.PortableServer.POA poa)
Constructor |
Method Summary | |
org.omg.PortableServer.POA |
_default_POA()
_default_POA method |
ResourceOperations |
_delegate()
Get the delegate |
void |
_delegate(ResourceOperations delegate_)
Set the delegate |
void |
commit_one_phase()
Operation commit_one_phase |
void |
commit()
Operation commit |
void |
forget()
Operation forget |
Vote |
prepare()
Operation prepare |
void |
rollback()
Operation rollback |
Methods inherited from class org.omg.CosTransactions.ResourcePOA |
_all_interfaces, _invoke, _this, _this |
Methods inherited from class org.omg.PortableServer.Servant |
_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 ResourcePOATie(ResourceOperations tieObject)
public ResourcePOATie(ResourceOperations tieObject, org.omg.PortableServer.POA poa)
Method Detail |
public ResourceOperations _delegate()
public void _delegate(ResourceOperations delegate_)
public org.omg.PortableServer.POA _default_POA()
public Vote prepare() throws HeuristicMixed, HeuristicHazard
HeuristicMixed
HeuristicHazard
public void rollback() throws HeuristicCommit, HeuristicMixed, HeuristicHazard
HeuristicCommit
HeuristicMixed
HeuristicHazard
public void commit() throws NotPrepared, HeuristicRollback, HeuristicMixed, HeuristicHazard
NotPrepared
HeuristicRollback
HeuristicMixed
HeuristicHazard
public void commit_one_phase() throws HeuristicHazard
HeuristicHazard
public void forget()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |