Next Previous Up Top Contents Index

7 The Harlequin Common Lisp ORB

7.3 Configuring a name service and an interface repository

The Harlequin Common Lisp Orb is not supplied with an interface repository or a naming service, but functions are supplied that allow the user to configure the ORB to present these services in response to calls ofop:list_initial_services.

The functioncorba:set-pluggable-module-details can be used for this purpose. For example,

(corba:set-pluggable-module-details "InterfaceRepository"
       :ior-string "IOR:000000000000002149444c...")
(corba:set-pluggable-module-details "NameService" 
       :ior-string "IOR:000000000000002149444c...")

would direct the ORB to use the given IOR-described CORBA object as an interface repository or name service, respectively. Values set in this manner are persistent. The code

(corba:get-pluggable-module-details "InterfaceRepository" 
      :ior-string)

returns a list of two values. The first is the object reference of the given service if it is contactable (nil if it is not). The second is the value that has been set using corba:set-pluggable-module-details.

Type information corresponding to IDL parsed by the IDL compiler is not added to the interface repository until the information is needed in response to a call toget_interface from a client.


Developing Component Software with CORBA - 22 Jan 1999

Next Previous Up Top Contents Index

Generated with Harlequin WebMaker