CxExecutionContext class

The methods documented in this chapter operate on the global execution context, which is a holder for user-accessible context information that is associated with a given flow. It is represented by the InterChange Server Express-defined class, CxExecutionContext. Currently, only the map-specific execution information is surfaced as the map execution context. In the code of a map, Map Designer automatically declares a special variable to access the map execution context, cwExecCtx. However, when you call a map from within a collaboration, you must instantiate your own global execution context and map execution context. For more information, see "Calling a native map".

Note:
For more information on the map execution context, see the Map Development Guide.

Table 65 summarizes the methods of the CxExecutionContext class.

Table 65.
CxExecutionContext method summary
Method Description Page
CxExecutionContext() Constructs a new instance of a global execution context. CxExecutionContext()
getContext() Retrieve the specified execution context from the global execution context. getContext()
setContext() Sets a particular execution context to be part of the global execution context. setContext()

Copyright IBM Corp. 2003, 2004