#include <Naming_Context_Interface.h>
Inheritance diagram for TAO_Naming_Context_Impl:
Public Methods | |
virtual | ~TAO_Naming_Context_Impl (void) |
Destructor. | |
virtual void | bind (const CosNaming::Name &n, CORBA::Object_ptr obj ACE_ENV_ARG_DECL)=0 |
virtual void | rebind (const CosNaming::Name &n, CORBA::Object_ptr obj ACE_ENV_ARG_DECL)=0 |
virtual void | bind_context (const CosNaming::Name &n, CosNaming::NamingContext_ptr nc ACE_ENV_ARG_DECL)=0 |
virtual void | rebind_context (const CosNaming::Name &n, CosNaming::NamingContext_ptr nc ACE_ENV_ARG_DECL)=0 |
virtual CORBA::Object_ptr | resolve (const CosNaming::Name &n ACE_ENV_ARG_DECL)=0 |
virtual void | unbind (const CosNaming::Name &n ACE_ENV_ARG_DECL)=0 |
virtual CosNaming::NamingContext_ptr | new_context (ACE_ENV_SINGLE_ARG_DECL)=0 |
virtual CosNaming::NamingContext_ptr | bind_new_context (const CosNaming::Name &n ACE_ENV_ARG_DECL)=0 |
virtual void | destroy (ACE_ENV_SINGLE_ARG_DECL)=0 |
virtual void | list (CORBA::ULong how_many, CosNaming::BindingList_out &bl, CosNaming::BindingIterator_out &bi ACE_ENV_ARG_DECL)=0 |
virtual PortableServer::POA_ptr | _default_POA (void)=0 |
Returns the Default POA of this Servant object. |
Subclasses of TAO_Naming_Context_Impl provide concrete implementations of the NamingContext functionality.
|
Destructor.
|
|
Returns the Default POA of this Servant object.
Implemented in TAO_Hash_Naming_Context. |
|
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. Implemented in TAO_Hash_Naming_Context, and TAO_Storable_Naming_Context. |
|
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. Implemented in TAO_Hash_Naming_Context, and TAO_Storable_Naming_Context. |
|
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). Implemented in TAO_Hash_Naming_Context, and TAO_Storable_Naming_Context. |
|
Delete the naming context. The user should take care to <unbind> any bindings in which the given context is bound to some names, to avoid dangling references when invoking <destroy> operation. NOTE: <destory> is a no-op on the root context. NOTE: after <destroy> is invoked on a Naming Context, all BindingIterators associated with that Naming Context are also destroyed. Implemented in TAO_Hash_Naming_Context, and TAO_Storable_Naming_Context. |
|
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. Implemented in TAO_Persistent_Naming_Context, TAO_Storable_Naming_Context, and TAO_Transient_Naming_Context. |
|
This operation returns a new naming context implemented by the same naming server in which the operation was invoked. The context is not bound. Implemented in TAO_Persistent_Naming_Context, TAO_Storable_Naming_Context, and TAO_Transient_Naming_Context. |
|
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. Implemented in TAO_Hash_Naming_Context, and TAO_Storable_Naming_Context. |
|
This is a version of <rebind> specifically for naming contexts, so that they can participate in name resolution when compound names are passed. Implemented in TAO_Hash_Naming_Context, and TAO_Storable_Naming_Context. |
|
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. Implemented in TAO_Hash_Naming_Context, and TAO_Storable_Naming_Context. |
|
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>) Implemented in TAO_Hash_Naming_Context, and TAO_Storable_Naming_Context. |