Next Prev Up Top Contents Index

7.3 Configuring a name service and an interface repository

The LispWorks 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 of op:list_initial_services .

The function corba: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 c orba: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 to get_interface from a client.


Developing Component Software with CORBA - 14 Dec 2001

Next Prev Up Top Contents Index