## Uses of Interface
org.omg.CosNaming.NamingContext

- Packages that use NamingContext
  Package | Description
  --- | ---
  org.omg.CosNaming | Provides a naming service for Java IDL.
  org.omg.CosNaming.NamingContextPackage | This package contains Exception classes for the `org.omg.CosNaming` package.

- - ### Uses of NamingContext in org.omg.CosNaming

    Subinterfaces of NamingContext in org.omg.CosNaming
    Modifier and Type | Interface | Description
    --- | --- | ---
    `interface` | `NamingContextExt` `NamingContextExt` is the extension of `NamingContext` which contains a set of name bindings in which each name is unique and is part of Interoperable Naming Service.

    Classes in org.omg.CosNaming that implement NamingContext
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `_NamingContextExtStub` `NamingContextExt` is the extension of `NamingContext` which contains a set of name bindings in which each name is unique and is part of Interoperable Naming Service.
    `class` | `_NamingContextImplBase`
    `class` | `_NamingContextStub` A naming context is an object that contains a set of name bindings in which each name is unique.

    Fields in org.omg.CosNaming declared as NamingContext
    Modifier and Type | Field | Description
    --- | --- | ---
    `NamingContext` | NamingContextHolder.`value`

    Methods in org.omg.CosNaming that return NamingContext
    Modifier and Type | Method | Description
    --- | --- | ---
    `NamingContext` | NamingContextPOA.`_this()`
    `NamingContext` | NamingContextPOA.`_this(ORB orb)`
    `NamingContext` | _NamingContextExtStub.`bind_new_context(NameComponent[] n)` This operation creates a new context and binds it to the name supplied as an argument.
    `NamingContext` | _NamingContextStub.`bind_new_context(NameComponent[] n)` This operation creates a new context and binds it to the name supplied as an argument.
    `NamingContext` | NamingContextOperations.`bind_new_context(NameComponent[] n)` This operation creates a new context and binds it to the name supplied as an argument.
    `static NamingContext` | NamingContextHelper.`extract(Any a)`
    `static NamingContext` | NamingContextHelper.`narrow(Object obj)`
    `NamingContext` | _NamingContextExtStub.`new_context()` This operation returns a naming context implemented by the same naming server as the context on which the operation was invoked.
    `NamingContext` | _NamingContextStub.`new_context()` This operation returns a naming context implemented by the same naming server as the context on which the operation was invoked.
    `NamingContext` | NamingContextOperations.`new_context()` This operation returns a naming context implemented by the same naming server as the context on which the operation was invoked.
    `static NamingContext` | NamingContextHelper.`read(InputStream istream)`
    `static NamingContext` | NamingContextHelper.`unchecked_narrow(Object obj)`

    Methods in org.omg.CosNaming with parameters of type NamingContext
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | _NamingContextExtStub.`bind_context(NameComponent[] n, NamingContext nc)` Names an object that is a naming context.
    `void` | _NamingContextStub.`bind_context(NameComponent[] n, NamingContext nc)` Names an object that is a naming context.
    `void` | NamingContextOperations.`bind_context(NameComponent[] n, NamingContext nc)` Names an object that is a naming context.
    `static void` | NamingContextHelper.`insert(Any a, NamingContext that)`
    `void` | _NamingContextExtStub.`rebind_context(NameComponent[] n, NamingContext nc)` Creates a binding of a name and a naming context in the naming context even if the name is already bound in the context.
    `void` | _NamingContextStub.`rebind_context(NameComponent[] n, NamingContext nc)` Creates a binding of a name and a naming context in the naming context even if the name is already bound in the context.
    `void` | NamingContextOperations.`rebind_context(NameComponent[] n, NamingContext nc)` Creates a binding of a name and a naming context in the naming context even if the name is already bound in the context.
    `static void` | NamingContextHelper.`write(OutputStream ostream, NamingContext value)`

    Constructors in org.omg.CosNaming with parameters of type NamingContext
    Constructor | Description
    --- | ---
    `NamingContextHolder(NamingContext initialValue)`

  - ### Uses of NamingContext in org.omg.CosNaming.NamingContextPackage

    Fields in org.omg.CosNaming.NamingContextPackage declared as NamingContext
    Modifier and Type | Field | Description
    --- | --- | ---
    `NamingContext` | CannotProceed.`cxt`

    Constructors in org.omg.CosNaming.NamingContextPackage with parameters of type NamingContext
    Constructor | Description
    --- | ---
    `CannotProceed(NamingContext _cxt, NameComponent[] _rest_of_name)`
    `CannotProceed(String $reason, NamingContext _cxt, NameComponent[] _rest_of_name)`

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.