CosNaming::NamingContext Interface ReferenceInterface for managing name bindings and naming contexts. More...
Inheritance diagram for CosNaming::NamingContext:
Detailed DescriptionInterface for managing name bindings and naming contexts.Member Enumeration Documentation
Member Function Documentation
Create a binding for name <n> and object <obj> in the naming context. Compound names are treated as follows: ctx->bind (<c1; c2; c3; cn>, obj) = (ctx->resolve (<c1; c2; cn-1>))->bind (<cn>, obj) if the there already exists a binding for the specified name, <AlreadyBound> exception is thrown. Naming contexts should be bound using <bind_context> and <rebind_context> in order to participate in name resolution later.
This is similar to <bind> operation above, except for when the binding for the specified name already exists in the specified context. In that case, the existing binding is replaced with the new one.
This is the version of <bind> specifically for binding naming contexts, so that they will participate in name resolution when compound names are passed to be resolved.
This is a version of <rebind> specifically for naming contexts, so that they can participate in name resolution when compound names are passed.
Return object reference that is bound to the name. Compound name resolve is defined as follows: ctx->resolve (<c1; c2; cn>) = ctx->resolve (<c1; c2 cn-1>)->resolve (<cn>) The naming service does not return the type of the object. Clients are responsible for "narrowing" the object to the appropriate type.
Remove the name binding from the context. When compound names are used, unbind is defined as follows: ctx->unbind (<c1; c2; cn>) = (ctx->resolve (<c1; c2; cn-1>))->unbind (<cn>)
This operation returns a new naming context implemented by the same naming server in which the operation was invoked. The context is not bound.
This operation creates a new context and binds it to the name supplied as an argument. The newly-created context is implemented by the same server as the context in which it was bound (the name argument excluding the last component).
Delete the naming context. NOTE: the user should <unbind> any bindings in which the given context is bound to some names before invoking <destroy> operation on it.
Returns at most the requested number of bindings how_many in bl. If the naming context contains additional bindings, they are returned with a BindingIterator. In the naming context does not contain any additional bindings bi returned as null.
The documentation for this interface was generated from the following file: Generated on Mon Sep 15 08:42:17 2008 for TAO_CosNaming by 1.5.5 |