The com.ibm.btt.automaton.ext.DSEOperationState class is a
generic state that executes the operation specified by the typeIdInfo attribute.
The state does the following when the flow processor enters it:
- Performs the state's entry actions.
- Creates an instance of the operation.
- Chains the operation context to the processor context. If the operation
has no context, the processor context is used as the operation context.
- Maps data from the processor context to the operation context, using the
format that copies data from one namespace to another. This format is specified
by the inputMapFmt parameter of either the state or the transition used to
reach it.
- Executes the operation.
- Processes the OperationRepliedEvent raised by the executed operation to
signal its completion. This event has an attribute called dse_exitEventName,
which contains the name of the event to be handled by the flow processor.
- Maps data from the operation context to the process context, using the
format that copies data from one namespace to another. This format is specified
by the outputMapFmt parameter of either the state or the transition associated
with the exit event raised by the operation.
- Closes the operation and unchains the operation context if required.
- Performs the state's exit actions.
- Signals the operation exit event to be processed by the flow processor.
- The flow processor advances to the next state.