00001 // -*- C++ -*- 00002 00003 //============================================================================= 00004 /** 00005 * @file Policy_Strategy.h 00006 * 00007 * Policy_Strategy.h,v 1.5 2005/11/04 09:26:55 ossama Exp 00008 * 00009 * @author Johnny Willemsen <jwillemsen@remedy.nl> 00010 */ 00011 //============================================================================= 00012 00013 #ifndef TAO_POLICY_STRATEGY_H 00014 #define TAO_POLICY_STRATEGY_H 00015 #include /**/ "ace/pre.h" 00016 00017 #include "tao/Environment.h" 00018 00019 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00020 # pragma once 00021 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00022 00023 #include "ace/Service_Object.h" 00024 #include "ace/CORBA_macros.h" 00025 00026 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00027 00028 class TAO_Root_POA; 00029 00030 namespace TAO 00031 { 00032 namespace Portable_Server 00033 { 00034 class Policy_Strategy 00035 : public ACE_Service_Object 00036 { 00037 public: 00038 virtual void strategy_init(TAO_Root_POA *poa ACE_ENV_ARG_DECL) = 0; 00039 00040 virtual void strategy_cleanup(ACE_ENV_SINGLE_ARG_DECL) = 0; 00041 00042 virtual ~Policy_Strategy (void) {}; 00043 }; 00044 } 00045 } 00046 00047 TAO_END_VERSIONED_NAMESPACE_DECL 00048 00049 #include /**/ "ace/post.h" 00050 #endif /* TAO_POLICY_STRATEGY_H */