org.omg.CosTransactions
Class _ResourceStub
public
class
_ResourceStub
extends ObjectImpl
implements Resource
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.
public void commit()
Operation commit
public void commit_one_phase()
Operation commit_one_phase
public void forget()
Operation forget
Operation prepare
public void rollback()
Operation rollback
public String[] _ids()