org.omg.CosTransactions
Interface Resource
public
interface
Resource
extends ResourceOperations, Object, IDLEntity
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.