Overview | Provides support for creating and manipulating a system naming tree, binding a name to an object in a naming context, retrieving an object from a naming context using the object name, and listing the bindings in a naming context. |
File name | CosNaming.idl |
Exceptions | CORBA
standard exceptions and the following user exceptions:
|
Supported operations | NamingContext::bind |
NamingContext::bind_context | |
NamingContext::bind_new_context | |
NamingContext::destroy | |
NamingContext::list | |
NamingContext::rebind | |
NamingContext::rebind_context | |
NamingContext::resolve | |
NamingContext::unbind |
Intended Usage
This interface provides the operations necessary to create and manipulate a system naming tree, to bind a name to an object in a naming context, to retrieve an object from a naming context using the object name, and to list the bindings in a naming context.
Types
typedef string Istring; struct NameComponent { Istring id; Istring kind; }; typedef sequence <NameComponent> Name; enum BindingType {nobject, ncontext}; struct Binding { Name binding_name; BindingType binding_type; }; typedef sequence <Binding> BindingList;