NamingContext::bind_new_context

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 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 excluding the last name component of name.

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.


Related reference
CosNaming in the naming service



Searchable topic ID:   rcor_cnsnc3
Last updated: Jun 21, 2007 8:07:48 PM CDT    WebSphere Business Integration Server Foundation, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/corba/ref/rcor_cnsnc3.html

Library | Support | Terms of Use | Feedback