## Uses of Class
org.omg.CosNaming.NameComponent

- Packages that use NameComponent
  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 NameComponent in org.omg.CosNaming

    Fields in org.omg.CosNaming declared as NameComponent
    Modifier and Type | Field | Description
    --- | --- | ---
    `NameComponent[]` | Binding.`binding_name`
    `NameComponent[]` | NameHolder.`value`
    `NameComponent` | NameComponentHolder.`value`

    Methods in org.omg.CosNaming that return NameComponent
    Modifier and Type | Method | Description
    --- | --- | ---
    `static NameComponent[]` | NameHelper.`extract(Any a)`
    `static NameComponent` | NameComponentHelper.`extract(Any a)`
    `static NameComponent[]` | NameHelper.`read(InputStream istream)`
    `static NameComponent` | NameComponentHelper.`read(InputStream istream)`
    `NameComponent[]` | _NamingContextExtStub.`to_name(String sn)` This operation converts a Stringified Name into an equivalent array of Name Components.
    `NameComponent[]` | NamingContextExtOperations.`to_name(String sn)` This operation converts a Stringified Name into an equivalent array of Name Components.

    Methods in org.omg.CosNaming with parameters of type NameComponent
    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.
    `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.
    `void` | _NamingContextExtStub.`bind(NameComponent[] n, Object obj)` Creates a binding of a name and an object in the naming context.
    `void` | _NamingContextStub.`bind(NameComponent[] n, Object obj)` Creates a binding of a name and an object in the naming context.
    `void` | NamingContextOperations.`bind(NameComponent[] n, Object obj)` Creates a binding of a name and an object in the naming context.
    `static void` | NameComponentHelper.`insert(Any a, NameComponent that)`
    `static void` | NameHelper.`insert(Any a, NameComponent[] 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.
    `void` | _NamingContextExtStub.`rebind(NameComponent[] n, Object obj)` Creates a binding of a name and an object in the naming context even if the name is already bound in the context.
    `void` | _NamingContextStub.`rebind(NameComponent[] n, Object obj)` Creates a binding of a name and an object in the naming context even if the name is already bound in the context.
    `void` | NamingContextOperations.`rebind(NameComponent[] n, Object obj)` Creates a binding of a name and an object in the naming context even if the name is already bound in the context.
    `Object` | _NamingContextExtStub.`resolve(NameComponent[] n)` The resolve operation is the process of retrieving an object bound to a name in a given context.
    `Object` | _NamingContextStub.`resolve(NameComponent[] n)` The resolve operation is the process of retrieving an object bound to a name in a given context.
    `Object` | NamingContextOperations.`resolve(NameComponent[] n)` The resolve operation is the process of retrieving an object bound to a name in a given context.
    `String` | _NamingContextExtStub.`to_string(NameComponent[] n)` This operation creates a stringified name from the array of Name components.
    `String` | NamingContextExtOperations.`to_string(NameComponent[] n)` This operation creates a stringified name from the array of Name components.
    `void` | _NamingContextExtStub.`unbind(NameComponent[] n)` The unbind operation removes a name binding from a context.
    `void` | _NamingContextStub.`unbind(NameComponent[] n)` The unbind operation removes a name binding from a context.
    `void` | NamingContextOperations.`unbind(NameComponent[] n)` The unbind operation removes a name binding from a context.
    `static void` | NameComponentHelper.`write(OutputStream ostream, NameComponent value)`
    `static void` | NameHelper.`write(OutputStream ostream, NameComponent[] value)`

    Constructors in org.omg.CosNaming with parameters of type NameComponent
    Constructor | Description
    --- | ---
    `Binding(NameComponent[] _binding_name, BindingType _binding_type)`
    `NameComponentHolder(NameComponent initialValue)`
    `NameHolder(NameComponent[] initialValue)`

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

    Fields in org.omg.CosNaming.NamingContextPackage declared as NameComponent
    Modifier and Type | Field | Description
    --- | --- | ---
    `NameComponent[]` | CannotProceed.`rest_of_name`
    `NameComponent[]` | NotFound.`rest_of_name`

    Constructors in org.omg.CosNaming.NamingContextPackage with parameters of type NameComponent
    Constructor | Description
    --- | ---
    `CannotProceed(NamingContext _cxt, NameComponent[] _rest_of_name)`
    `CannotProceed(String $reason, NamingContext _cxt, NameComponent[] _rest_of_name)`
    `NotFound(NotFoundReason _why, NameComponent[] _rest_of_name)`
    `NotFound(String $reason, NotFoundReason _why, 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.