Basic Operations

The basic operations of the naming service are defined either in the interface CosNaming::NamingContext (the subset of operations in the old naming service specification) or the interface CosNaming::NamingContextExt (the extensions introduced in the CORBA Interoperable Naming Service specification). Some of the basic tasks you need to perform on the naming service are to

  • Create object bindings

  • Create context bindings

  • Resolve names

  • Convert name formats

The following IDL fragment highlights some of the operations you can use for these tasks:

//IDL #pragma prefix "omg.org" module CosNaming { ... interface NamingContext { ... void rebind(in Name n, in Object obj) raises(NotFound, CannotProceed, InvalidName); void bind(in Name n, in ...

Get Pure CORBA now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.