![]() |
Overview Creates a new naming context in the same server as the target naming context on which the operation was invoked and binds it to a supplied name. Original interface CosNaming::NamingContext Interface Exceptions CORBA standard exceptions and the following user exceptions:
- CosNaming::NamingContext::AlreadyBound
- CosNaming::NamingContext::CannotProceed
- CosNaming::NamingContext::InvalidName
- CosNaming::NamingContext::NotFound
Intended Usage
This operation is intended to be used by client applications. It is not typically overridden.
The naming context that is created has the same implementation as the target naming context to which it is bound. This new context is created in the same process as that of the target naming context. Note that the target naming context in which the new context is bound is denoted by a name that is equivalent to the name name excluding the last name component of name.
IDL Syntax
CosNaming::NamingContext bind_new_context(in CosNaming::Name name);
Input parameters
- name
- The name for the naming context object binding.
Return values
- CosNaming::NamingContext
Example
See the CosNaming Usage example for BindingIterator::destroy.