00001 // -*- C++ -*- 00002 00003 //============================================================================= 00004 /** 00005 * @file ImplicitActivationStrategy.h 00006 * 00007 * $Id: ImplicitActivationStrategy.h 76551 2007-01-24 13:42:44Z johnnyw $ 00008 * 00009 * @author Johnny Willemsen <jwillemsen@remedy.nl> 00010 */ 00011 //============================================================================= 00012 00013 #ifndef TAO_ACTIVATION_STRATEGY_H 00014 #define TAO_ACTIVATION_STRATEGY_H 00015 #include /**/ "ace/pre.h" 00016 00017 #include "tao/PortableServer/Policy_Strategy.h" 00018 00019 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00020 # pragma once 00021 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00022 00023 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00024 00025 namespace TAO 00026 { 00027 namespace Portable_Server 00028 { 00029 class ImplicitActivationStrategy 00030 : public Policy_Strategy 00031 { 00032 public: 00033 virtual void strategy_init(TAO_Root_POA *poa); 00034 00035 virtual void strategy_cleanup(void); 00036 00037 virtual bool allow_implicit_activation (void) const = 0; 00038 }; 00039 } 00040 } 00041 00042 TAO_END_VERSIONED_NAMESPACE_DECL 00043 00044 #include /**/ "ace/post.h" 00045 #endif /* TAO_ACTIVATION_STRATEGY_H */