CORBA 2.3.3 Programmer's Guide for C++
This option specifies one of the following operation commands:
bind
bind_context
bind_new_context
destroy
list
new_context
rebind
rebind_context
remove_context
resolve
unbind
Note that the specified operation is performed against the base naming context, as specified with the -ior
option. Each operation is described in detail below.
bind object-name stringified-IOR
This option binds the name specified by object-name to the object whose IOR is specified by
stringified-IOR.
bind_context context-name stringified-IOR
This option binds the name specified by context-name to the naming context whose IOR is specified by
stringified-IOR.
bind_new_context context-name
This option binds the name specified by context-name to a new naming context, and returns the stringified
IOR of the new naming context.
destroy
This option destroys the base naming context.
list [context-name]
This option lists the contexts and objects bound into the naming context specified by context-name. This is
not a recursive operation; it only displays the immediate contents of the context, not recurrences thorough any
contexts subordinate to the base. If no context-name is given, this command lists contents of the base
naming context.
new_context context-name
This option creates a new naming context in the base naming context, and returns the stringified IOR for the
new naming context.
rebind object-name stringified-IOR
This option binds the name specified by object-name to the object whose IOR is specified by
stringified-IOR, even if the name is already bound.
rebind_context context-name stringified-IOR
This option binds the name specified by context-name to the naming context whose IOR is specified by
stringified-IOR, even if the name is already bound.
remove_context context-name
This option unbinds and destroys the naming context specified by context-name, as long as the naming
context is empty.