5.2.3.2 CORBAservices Life Cycle Service Module OMG IDL
The following code snippet shows the portions of the lcs.idl
file that are relevant to the FactoryFinder.
// ----- lcs.idl -----
#include “ns.idl”
module CosLifeCycle {
typedef CosNaming::Name Key;
typedef Object Factory;
typedef sequence < Factory > Factories;
exception NoFactory {
Key search_key;
}
interface FactoryFinder {
Factories find_factories(in Key factory_key)
raises(NoFactory);
};
};
// This information is taken from CORBAservices: Common Object
// Services Specification, pages 6-10, 11. Revised Edition:
// March 31, 1995. Updated: November 1997. Used with permission by OMG.
Parent topic: Locating a Factory