00001 // -*- C++ -*- 00002 00003 //============================================================================= 00004 /** 00005 * @file ImplicitActivationStrategyFactoryImpl.h 00006 * 00007 * $Id: ImplicitActivationStrategyFactoryImpl.h 76551 2007-01-24 13:42:44Z johnnyw $ 00008 * 00009 * @author Johnny Willemsen <jwillemsen@remedy.nl> 00010 */ 00011 //============================================================================= 00012 00013 #ifndef TAO_PORTABLESERVER_IMPLICITACTIVATIONSTRATEGYFACTORYIMPL_H 00014 #define TAO_PORTABLESERVER_IMPLICITACTIVATIONSTRATEGYFACTORYIMPL_H 00015 #include /**/ "ace/pre.h" 00016 00017 #include "tao/PortableServer/portableserver_export.h" 00018 00019 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00020 # pragma once 00021 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00022 00023 #include "ace/Service_Config.h" 00024 #include "tao/PortableServer/ImplicitActivationStrategyFactory.h" 00025 00026 00027 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00028 00029 namespace TAO 00030 { 00031 namespace Portable_Server 00032 { 00033 class ImplicitActivationStrategyFactoryImpl 00034 : public ImplicitActivationStrategyFactory 00035 { 00036 public: 00037 /// Create a new servant retention strategy 00038 virtual ImplicitActivationStrategy* create ( 00039 ::PortableServer::ImplicitActivationPolicyValue value); 00040 00041 virtual void destroy ( 00042 ImplicitActivationStrategy *strategy 00043 ); 00044 }; 00045 } 00046 } 00047 00048 TAO_END_VERSIONED_NAMESPACE_DECL 00049 00050 ACE_STATIC_SVC_DECLARE_EXPORT (TAO_PortableServer, ImplicitActivationStrategyFactoryImpl) 00051 ACE_FACTORY_DECLARE (TAO_PortableServer, ImplicitActivationStrategyFactoryImpl) 00052 00053 #include /**/ "ace/post.h" 00054 #endif /* TAO_PORTABLESERVER_IMPLICITACTIVATIONSTRATEGYFACTORYIMPL_H */