Previous | Table of Contents | Next |
Tagged Components Effective Policies Service Current
Service Contexts
Figure 21-2 Transfer Client’s Context to Request’s Service Context
Figure 21-2 shows what is needed to transfer a client’s context to the service context.
Service contexts are populated from information in a service’s Current object, from the effective policies, and from information
in the tagged components on an IOR’s profile.
The processing of a request is an integral part of the ORB. Since each ORB service potentially creates its own service context,
there must be a means by which each service can get the necessary information during request processing. Since service contexts
are defined as a unique identifier and an octet sequence containing a CDR encapsulation there must be a portable method to
create such an octet sequence.
Requirement: Satisfied by: | Intercept request processing and access necessary data. Request Interceptors (see Section 21.3, “Request Interceptors,? on page 21-6) and the PortableInterceptor::Current (see Section 21.4, “Portable Interceptor Current,? on page 21-33). | ||||
Requirement: Satisfied by: | Convert types to octet sequences Codec (see Section 13.8, “Coder/Decoder Interfaces,? on page 13-32). |