CosTransactions_SubtransactionAwareResource
Module
Module Summary
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
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.
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
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.