CosTransactions_SubtransactionAwareResource(3)

MODULE
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 commited subtransaction are reltive 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.

AUTHOR
support - support@erlang.ericsson.se