Uses of Class org.omg.IOP.ServiceContext (Java Platform SE 8 )
Date: 2026-04-24

## Uses of Class
org.omg.IOP.ServiceContext

- Packages that use ServiceContext
  Package | Description
  --- | ---
  org.omg.IOP | This package contains the `IOP` module specified in the OMG document The Common Object Request Broker: Architecture and Specification, http://cgi.omg.org/cgi-bin/doc?formal/99-10-07, section 13.6.
  org.omg.PortableInterceptor | Provides a mechanism to register ORB hooks through which ORB services can intercept the normal flow of execution of the ORB.

- - ### Uses of ServiceContext in org.omg.IOP

    Fields in org.omg.IOP declared as ServiceContext
    Modifier and Type | Field and Description
    --- | ---
    `ServiceContext` | ServiceContextHolder.`value`
    `ServiceContext[]` | ServiceContextListHolder.`value`

    Methods in org.omg.IOP that return ServiceContext
    Modifier and Type | Method and Description
    --- | ---
    `static ServiceContext` | ServiceContextHelper.`extract(Any a)`
    `static ServiceContext[]` | ServiceContextListHelper.`extract(Any a)`
    `static ServiceContext` | ServiceContextHelper.`read(InputStream istream)`
    `static ServiceContext[]` | ServiceContextListHelper.`read(InputStream istream)`

    Methods in org.omg.IOP with parameters of type ServiceContext
    Modifier and Type | Method and Description
    --- | ---
    `static void` | ServiceContextHelper.`insert(Any a, ServiceContext that)`
    `static void` | ServiceContextListHelper.`insert(Any a, ServiceContext[] that)`
    `static void` | ServiceContextHelper.`write(OutputStream ostream, ServiceContext value)`
    `static void` | ServiceContextListHelper.`write(OutputStream ostream, ServiceContext[] value)`

    Constructors in org.omg.IOP with parameters of type ServiceContext
    Constructor and Description
    `ServiceContextHolder(ServiceContext initialValue)`
    `ServiceContextListHolder(ServiceContext[] initialValue)`

  - ### Uses of ServiceContext in org.omg.PortableInterceptor

    Methods in org.omg.PortableInterceptor that return ServiceContext
    Modifier and Type | Method and Description
    --- | ---
    `ServiceContext` | RequestInfoOperations.`get_reply_service_context(int id)` Returns a copy of the service context with the given ID that is associated with the reply.
    `ServiceContext` | RequestInfoOperations.`get_request_service_context(int id)` Returns a copy of the service context with the given ID that is associated with the request.

    Methods in org.omg.PortableInterceptor with parameters of type ServiceContext
    Modifier and Type | Method and Description
    --- | ---
    `void` | ServerRequestInfoOperations.`add_reply_service_context(ServiceContext service_context, boolean replace)` Allows Interceptors to add service contexts to the request.
    `void` | ClientRequestInfoOperations.`add_request_service_context(ServiceContext service_context, boolean replace)` Allows Interceptors to add service contexts to the request.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.