CORBA module: Context Class

Overview Contains a list of properties that represent information about the client environment.
File name context.h
Supported methods Context::_duplicate
Context::_nil
Context::context_name
Context::create_child
Context::delete_values
Context::get_values
Context::parent
Context::set_one_value
Context::set_values


Intended Usage

The Context class is used to pass information from the client environment to the server environment, specifically information that is inconvenient to pass as method parameters. The information is specified as a list of properties. Each property consists of a name and a string value associated with that name. An IDL operation specification may contain a clause specifying context properties that should be passed to the server when the method is invoked. The Context object associated with an operation is passed as a distinguished parameter. The ORB::get_default_context method is called to get a reference to the default process context. The Context class provides methods to add and delete properties, as well as query information about a context.

Contexts may be "chained" together to achieve a particular default behavior. Property searches on a child context recursively look in the parent context. Contexts may optionally be named. A context name can be used to specify a starting search scope.


Related reference
Context::_duplicate
Context::_nil
Context::context_name
Context::create_child
Context::delete_values
Context::get_values
Context::parent
Context::set_one_value
Context::set_values



Searchable topic ID:   rcor_modcxc
Last updated: Jun 21, 2007 8:07:48 PM CDT    WebSphere Business Integration Server Foundation, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/corba/ref/rcor_modcxc.html

Library | Support | Terms of Use | Feedback