3 //=============================================================================
5 * @file ThreadStrategySingleFactoryImpl.h
7 * @author Johnny Willemsen <jwillemsen@remedy.nl>
9 //=============================================================================
11 #ifndef TAO_PORTABLESERVER_THREADPOLICYSINGLESTRATEGYFACTORYIMPL_H
12 #define TAO_PORTABLESERVER_THREADPOLICYSINGLESTRATEGYFACTORYIMPL_H
13 #include /**/ "ace/pre.h"
15 #include "tao/PortableServer/portableserver_export.h"
17 #if !defined (ACE_LACKS_PRAGMA_ONCE)
19 #endif /* ACE_LACKS_PRAGMA_ONCE */
21 #include "ace/Service_Config.h"
22 #include "tao/PortableServer/ThreadStrategyFactory.h"
24 #if (TAO_HAS_MINIMUM_POA == 0) && !defined (CORBA_E_COMPACT) && !defined (CORBA_E_MICRO)
26 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
30 namespace Portable_Server
32 class ThreadStrategySingleFactoryImpl
33 : public ThreadStrategyFactory
36 /// Create a new thread strategy
37 virtual ThreadStrategy
* create (::PortableServer::ThreadPolicyValue value
);
39 virtual void destroy (ThreadStrategy
*strategy
);
44 ACE_STATIC_SVC_DECLARE_EXPORT (TAO_PortableServer
, ThreadStrategySingleFactoryImpl
)
45 ACE_FACTORY_DECLARE (TAO_PortableServer
, ThreadStrategySingleFactoryImpl
)
47 TAO_END_VERSIONED_NAMESPACE_DECL
49 #endif /* TAO_HAS_MINIMUM_POA == 0 */
51 #include /**/ "ace/post.h"
52 #endif /* TAO_PORTABLESERVER_THREADPOLICYSINGLESTRATEGYFACTORYIMPL_H*/