[Enterprise Extensions only]

CosNaming in the Naming Service

The CosNaming module supports methods that allow the assigning of a name to an object (that is, creating an object-name binding in a context), then finding the object using the assigned name.

The files relating to the CosNaming module are listed in the table below.

Files for the CosNaming module

AIX Solaris Windows NT Visual C++
module file name CosNaming.idl
Java package file name org.omg.CosNaming
C++ Header file name CosNaming.hh
Linker files libsomosa1.a libsomosa1.so somosa1m.lib


Intended Usage

The key class in this module is the NamingContext class. Operations in this class can be used to build and manipulate a naming space. A naming space is distributed and federated. Objects in this naming space are managed objects.

Types

  typedef string Istring;
 
  struct NameComponent {
    Istring id;
    Istring kind;
  };
  typedef sequence <NameComponent> Name;
 
  enum BindingType {nobject, ncontext};
 
  struct Binding {
    Name binding_name;
    BindingType binding_type;
  };
  typedef sequence <Binding> BindingList;

Interfaces

For information on each of the interfaces within the CosNaming module, see the related topics.