J-Integra® Espresso Programming Documentation (API)

NamingContext.bind Method

Creates a binding of a name and an object in the naming context. Naming contexts that are bound using bind do not participate in name resolution when compound names are passed to be resolved.

void bind(
 NameComponent[] a_n,
 Ics.CORBA.Object a_obj
);

Parameters

a_n
Name of the object.
a_obj
The Object to bind with the given name.

Return Value

none

Remarks

none

Exceptions

NotFound,
CannotProceed,
InvalidName,
AlreadyBound if the there already exists a binding for the specified name

See Also

NamingContext Interface | NamingContext Members | Ics.CosNaming Namespace