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
-
SubtransactionAwareResource = #objref
-
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.
rollback_subtransaction(SubtransactionAwareResource) -> Return
-
Types:
-
SubtransactionAwareResource = #objref
Return = ok
-
SubtransactionAwareResource = #objref
-
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.