CosNaming in the naming service

The CosNaming module supports methods that you can use to asign a name to an object (that is, creating an object-name binding in a context) and then find 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 HP-UX Linux Solaris Windows NT Visual C++
module file name CosNaming.idl
C++ Header file name CosNaming.hh
Linker files libwasosal.a libwasosal.sl libwasosal.so libwasosal.so wasosa1m.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


Related reference
CosNaming::BindingIterator Interface
CosNaming::NamingContext Interface



Searchable topic ID:   rcor_cns
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_cns.html

Library | Support | Terms of Use | Feedback