Scroll to navigation

CosTransactions_SubtransactionAwareResource(3erl) Erlang Module Definition CosTransactions_SubtransactionAwareResource(3erl)

NAME

CosTransactions_SubtransactionAwareResource - This module implements the OMG CosTransactions::SubtransactionAwareResource interface.

DESCRIPTION

This interface inherits the CosTransactions::Resource interface. Hence, it must also support all operations defined in the Resource interface.
To get access to the record definitions for the structures use:
 
-include_lib("cosTransactions/include/CosTransactions.hrl").

EXPORTS

commit_subtransaction(SubtransactionAwareResource, Coordinator) -> Return
 
Types:
SubtransactionAwareResource = #objref
 
Coordinator = #objref
 
Return = ok
 
If the SubtransactionAwareResource have been registered with a subtransaction using the operation CosTransactions_Coordinator:register_subtran_aware/2, it will be notified when the transaction has committed.
Note:
The results of a committed subtransaction are relative to the completion of its ancestor transactions, that is, these results can be undone if any ancestor transaction is rolled back.
rollback_subtransaction(SubtransactionAwareResource) -> Return
 
Types:
SubtransactionAwareResource = #objref
 
Return = ok
 
If the SubtransactionAwareResource have been registered with a transactions using the operation CosTransactions_Coordinator:register_subtran_aware/2 it will be notified when the transaction has rolled back.
cosTransactions 1.2.14 Ericsson AB