1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
|
.TH CosTransactions_SubtransactionAwareResource 3 "cosTransactions 1.2.4" "Ericsson AB" "ERLANG MODULE DEFINITION"
.SH MODULE
CosTransactions_SubtransactionAwareResource \- This module implements the OMG CosTransactions::SubtransactionAwareResource interface\&.
.SH DESCRIPTION
.LP
This interface inherits the CosTransactions::Resource interface\&. Hence, it must also support all operations defined in the Resource interface\&.
.LP
To get access to the record definitions for the structures use:
.br
\fI-include_lib("cosTransactions/include/CosTransactions\&.hrl")\&.\fR
.SH EXPORTS
.LP
.B
commit_subtransaction(SubtransactionAwareResource, Coordinator) -> Return
.br
.RS
.TP
Types
SubtransactionAwareResource = #objref
.br
Coordinator = #objref
.br
Return = ok
.br
.RE
.RS
.LP
If the \fISubtransactionAwareResource\fR have been registered with a \fIsubtransaction\fR using the operation \fICosTransactions_Coordinator:register_subtran_aware/2\fR, it will be notified when the transaction has committed\&.
.SS Note:
.LP
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\&.
.RE
.LP
.B
rollback_subtransaction(SubtransactionAwareResource) -> Return
.br
.RS
.TP
Types
SubtransactionAwareResource = #objref
.br
Return = ok
.br
.RE
.RS
.LP
If the \fISubtransactionAwareResource\fR have been registered with a transactions using the operation \fICosTransactions_Coordinator:register_subtran_aware/2\fR it will be notified when the transaction has rolled back\&.
.RE
|