com.pcbsys.nirvana.nAdminAPI.nRemovable Interface Reference

All classes that can be removed from the namespace implement this interface. More...

Inheritance diagram for com.pcbsys.nirvana.nAdminAPI.nRemovable:

com.pcbsys.nirvana.nAdminAPI.nLeafNode com.pcbsys.nirvana.nAdminAPI.nLinkNode com.pcbsys.nirvana.nAdminAPI.nRealmNode

Public Member Functions

void remove (bool removeChildren)
 This method enables the removal of the object from the namespace.

Detailed Description

All classes that can be removed from the namespace implement this interface.

This allows easy manipulation of the nirvana namespace objects that can be deleted


Member Function Documentation

void com.pcbsys.nirvana.nAdminAPI.nRemovable.remove ( bool  removeChildren  ) 

This method enables the removal of the object from the namespace.

If you specify true, all child nodes, including channels, queues and services will also be removed

Parameters:
removeChildren a boolean specifying whether siblings should be removed too
Exceptions:
nUnsupportedRemoveException thrown if the remove operation is not supported on this node
nNodeException is thrown if an error occurs in the remove operation
nLeafNode nRealmNode nLinkNode

Implemented in com.pcbsys.nirvana.nAdminAPI.nLeafNode, com.pcbsys.nirvana.nAdminAPI.nLinkNode, and com.pcbsys.nirvana.nAdminAPI.nRealmNode.