[Ericsson AB]

cosTransactions

MODULE

cosTransactions

MODULE SUMMARY

The main module of the cosTransactions application.

DESCRIPTION

To get access to the record definitions for the structures use:
-include_lib("cosTransactions/include/CosTransactions.hrl").

This module contains the functions for starting and stopping the application. If the application is started using application:start(cosTransactions) the default configuration is used (see listing below). The Factory reference is stored using the CosNaming Service under the id "oe_cosTransactionsFac_IPNo".

The following application configuration parameters exist:

EXPORTS

start() -> Return

Types:

Return = ok | {error, Reason}

This operation starts the cosTransactions application.

stop() -> Return

Types:

Return = ok | {error, Reason}

This operation stops the cosTransactions application.

start_factory() -> TransactionFactory

Types:

TransactionFactory = #objref

This operation creates a Transaction Factory. The Factory is used to create a new top-level transaction using default options (see listing below).

start_factory(FacDef) -> TransactionFactory

Types:

FacDef = [Options], see Option listing below.
TransactionFactory = #objref

This operation creates a Transaction Factory. The Factory is used to create a new top-level transaction.

The FacDef list must be a list of {Item, Value} tuples, where the following values are allowed:

stop_factory(TransactionFactory) -> Reply

Types:

TransactionFactory = #objref
Reply = ok | {'EXCEPTION', E}

This operation stop the target transaction factory.


cosTransactions 1.2.3
Copyright © 1991-2007 Ericsson AB