.TH CosTransactions_SubtransactionAwareResource 3erl "cosTransactions 1.3.2" "Ericsson AB" "Erlang Module Definition" .SH NAME 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 .LP Types: .RS 3 SubtransactionAwareResource = #objref .br Coordinator = #objref .br Return = ok .br .RE .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\&. .LP .RS -4 .B Note: .RE 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 .LP Types: .RS 3 SubtransactionAwareResource = #objref .br Return = ok .br .RE .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