NamingContext::destroy

Overview Destroys a naming context.
Original interface CosNaming::NamingContext Interface
Exceptions CORBA standard exceptions and the following user exception:
CosNaming::NamingContext::NotEmpty
Raised if the naming context contains any bindings.


Intended Usage

This operation is used by client applications and is not typically overridden.

This operation destroys the naming context if the context is empty. The naming context cannot contain bindings for this operation to succeed. It is the responsibility of the client to ensure that all bindings have been removed from the naming context before invoking this operation. Use the unbind operation to remove any bindings in the naming context; for more information, refer to the unbind Operation.

Syntax

  void destroy();

Input parameters

None.

Return values

None.

Example

See the CosNaming Usage example for BindingIterator::destroy.


Related reference
CosNaming in the naming service



Searchable topic ID:   rcor_cnsnc4
Last updated: Jun 21, 2007 8:07:48 PM CDT    WebSphere Business Integration Server Foundation, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/corba/ref/rcor_cnsnc4.html

Library | Support | Terms of Use | Feedback