diff options
Diffstat (limited to 'TAO/tests/Quoter/Life_Cycle_Service_Impl.h')
-rw-r--r-- | TAO/tests/Quoter/Life_Cycle_Service_Impl.h | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/TAO/tests/Quoter/Life_Cycle_Service_Impl.h b/TAO/tests/Quoter/Life_Cycle_Service_Impl.h deleted file mode 100644 index 9c153076179..00000000000 --- a/TAO/tests/Quoter/Life_Cycle_Service_Impl.h +++ /dev/null @@ -1,58 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = FILENAME -// Life_Cycle_Service_Impl.h -// -// = DESCRIPTION -// A Life Cycle Service for the Quoter example. -// -// = AUTHOR -// Michael Kircher (mk1@cs.wustl.edu) -// -// ============================================================================ - -#include "QuoterS.h" -#include "Factory_Trader.h" -#include "Criteria_Evaluator.h" - -#if !defined (QUOTER_LIFE_CYCLE_SERVICE_IMPL_H) -#define QUOTER_LIFE_CYCLE_SERVICE_IMPL_H - -class Quoter_Life_Cycle_Service_Impl : public POA_Stock::Quoter_Life_Cycle_Service -{ - // = TILE - // A CosLifeCycle conforming Generic Factory for the Quoter - // example. It uses the Naming Service to find a fitting factory. - -public: - Quoter_Life_Cycle_Service_Impl (void); - ~Quoter_Life_Cycle_Service_Impl (void); - - CORBA::Boolean supports (const CosLifeCycle::Key &factory_key, - CORBA::Environment &_env_there); - // Returns true if the Generic Factory is able to forward a request - // for creating an object described by the <factory_key>. - - CORBA::Object_ptr create_object (const CosLifeCycle::Key &factory_key, - const CosLifeCycle::Criteria &the_criteria, - CORBA::Environment &_env_there); - // Returns an object reference to a newly created object, though the - // Generic Factory itself cannot create objects, it will forward the - // request to a more concrete Factory. - - void register_factory (const char * name, - const char * location, - const char * description, - CORBA::Object_ptr object, - CORBA::Environment &_env_there); - // Registers a factory with specified properties - -private: - Factory_Trader *factory_trader_ptr_; -}; - -#endif /* QUOTER_LIFE_CYCLE_SERVICE_IMPL_H */ - - |