Uses of Class org.omg.CORBA.Context (Java Platform SE 8 )
Date: 2015-05-24

## Uses of Class
org.omg.CORBA.Context

- Packages that use Context
  Package | Description
  --- | ---
  org.omg.CORBA | Provides the mapping of the OMG CORBA APIs to the JavaTM programming language, including the class `ORB`, which is implemented so that a programmer can use it as a fully-functional Object Request Broker (ORB).
  org.omg.CORBA.portable | Provides a portability layer, that is, a set of ORB APIs that makes it possible for code generated by one vendor to run on another vendor's ORB.

- - ### Uses of Context in org.omg.CORBA

    Methods in org.omg.CORBA that return Context
    Modifier and Type | Method and Description
    --- | ---
    `abstract Context` | Context.`create_child(String child_ctx_name)` Creates a `Context` object with the given string as its name and with this `Context` object set as its parent.
    `abstract Context` | Request.`ctx()` Retrieves the `Context` object for this request.
    `abstract Context` | ServerRequest.`ctx()` Returns the context information specified in IDL for the operation when the operation is not an attribute access and the operation's IDL definition contains a context expression; otherwise it returns a nil `Context` reference.
    `abstract Context` | ORB.`get_default_context()` Gets the default `Context` object.
    `abstract Context` | Context.`parent()` Retrieves the parent of this `Context` object.

    Methods in org.omg.CORBA with parameters of type Context
    Modifier and Type | Method and Description
    --- | ---
    `Request` | LocalObject.`_create_request(Context ctx, String operation, NVList arg_list, NamedValue result)` Throws an `org.omg.CORBA.NO_IMPLEMENT` exception with the message "This is a locally constrained object." This method is the default implementation of the `org.omg.CORBA.Object` method.
    `Request` | Object.`_create_request(Context ctx, String operation, NVList arg_list, NamedValue result)` Creates a `Request` instance initialized with the given context, method name, list of arguments, and container for the method's return value.
    `Request` | LocalObject.`_create_request(Context ctx, String operation, NVList arg_list, NamedValue result, ExceptionList exceptions, ContextList contexts)` Throws an `org.omg.CORBA.NO_IMPLEMENT` exception with the message "This is a locally constrained object." This method is the default implementation of the `org.omg.CORBA.Object` method.
    `Request` | Object.`_create_request(Context ctx, String operation, NVList arg_list, NamedValue result, ExceptionList exclist, ContextList ctxlist)` Creates a `Request` instance initialized with the given context, method name, list of arguments, container for the method's return value, list of possible exceptions, and list of context strings needing to be resolved.
    `abstract void` | Request.`ctx(Context c)` Sets this request's `Context` object to the one given.

  - ### Uses of Context in org.omg.CORBA.portable

    Methods in org.omg.CORBA.portable that return Context
    Modifier and Type | Method and Description
    --- | ---
    `Context` | InputStream.`read_Context()` Reads a CORBA context from the stream.

    Methods in org.omg.CORBA.portable with parameters of type Context
    Modifier and Type | Method and Description
    --- | ---
    `Request` | ObjectImpl.`_create_request(Context ctx, String operation, NVList arg_list, NamedValue result)` Creates a `Request` object that contains the given context, method, argument list, and container for the result.
    `Request` | ObjectImpl.`_create_request(Context ctx, String operation, NVList arg_list, NamedValue result, ExceptionList exceptions, ContextList contexts)` Creates a `Request` object that contains the given context, method, argument list, container for the result, exceptions, and list of property names to be used in resolving the context strings.
    `abstract Request` | Delegate.`create_request(Object obj, Context ctx, String operation, NVList arg_list, NamedValue result)` Creates a Request instance for use in the Dynamic Invocation Interface.
    `abstract Request` | Delegate.`create_request(Object obj, Context ctx, String operation, NVList arg_list, NamedValue result, ExceptionList exclist, ContextList ctxlist)` Creates a Request instance for use in the Dynamic Invocation Interface.
    `void` | OutputStream.`write_Context(Context ctx, ContextList contexts)` Writes a CORBA context on this stream.

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, 2015, Oracle and/or its affiliates. All rights reserved.