2 //=============================================================================
4 * @file Factory_Finder_i.h
6 * Factory Finder Implementation for the Quoter example
8 * @author Michael Kircher (mk1@cs.wustl.edu)
10 //=============================================================================
15 #ifndef QUOTER_FACTORY_FINDER_IMPL_H
16 #define QUOTER_FACTORY_FINDER_IMPL_H
19 * @class Quoter_Factory_Finder_i
21 * A CosLifeCycle conforming Factory Finder for the Quoter
22 * example. It uses the Naming Service to find a fitting factory.
24 class Quoter_Factory_Finder_i
: public POA_Stock::Quoter_Factory_Finder
27 Quoter_Factory_Finder_i (int debug_level
= 1);
28 ~Quoter_Factory_Finder_i ();
31 * Returns a sequence of Factories if factories matching the
32 * factory_key were found. If no factory was found, then the
33 * NoFactory exception, defined in CosLifeCycle, is raised.
35 virtual CosLifeCycle::Factories
* find_factories (const CosLifeCycle::Key
&factory_key
);
38 /// debug level (0 = quiet, 1 = default, informative, 2+ = noisy);
42 #endif /* QUOTER_FACTORY_FINDER_IMPL_H */