An Example of Reading from the Interface Repository
This example is based on the RecycleBroker IDL as described in Chapter 3. It is assumed that the interface repository is already populated with the RecycleBroker IDL before this example is run.
In the first part of the example, lookup() is used to find the "RecycleBroker::WasteItemAdmin" interface. This identifier is specified relative to the Repository scope because it is invoked on a CORBA::Repository object. The code prints out all of the operation names belonging to the WasteItemAdmin interface.
In the second part of the example, lookup() is used to find the "::RecycleBroker" ...