Updated logging to include the class/method so that it is more obvious where these...
[ACE_TAO.git] / TAO / tao / PortableServer / LifespanStrategyFactoryImpl.h
blobb076007cd7a26842fcb51cadf0cd07bf0ff15170
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file LifespanStrategyFactoryImpl.h
7 * @author Johnny Willemsen <jwillemsen@remedy.nl>
8 */
9 //=============================================================================
11 #ifndef TAO_PORTABLESERVER_LIFEPSPANSTRATEGYFACTORYIMPL_H
12 #define TAO_PORTABLESERVER_LIFEPSPANSTRATEGYFACTORYIMPL_H
13 #include /**/ "ace/pre.h"
15 #include "tao/PortableServer/portableserver_export.h"
17 #if !defined (ACE_LACKS_PRAGMA_ONCE)
18 # pragma once
19 #endif /* ACE_LACKS_PRAGMA_ONCE */
21 #include "ace/Service_Config.h"
22 #include "tao/PortableServer/LifespanStrategyFactory.h"
24 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
26 namespace TAO
28 namespace Portable_Server
30 class TAO_PortableServer_Export LifespanStrategyFactoryImpl
31 : public LifespanStrategyFactory
33 public:
34 /// Create a new servant retention strategy
35 virtual LifespanStrategy* create (::PortableServer::LifespanPolicyValue value);
37 /// Cleanup the given strategy instance
38 virtual void destroy (LifespanStrategy *strategy);
42 ACE_STATIC_SVC_DECLARE_EXPORT (TAO_PortableServer, LifespanStrategyFactoryImpl)
43 ACE_FACTORY_DECLARE (TAO_PortableServer, LifespanStrategyFactoryImpl)
46 TAO_END_VERSIONED_NAMESPACE_DECL
49 #include /**/ "ace/post.h"
50 #endif /* TAO_PORTABLESERVER_LIFEPSPANSTRATEGYFACTORYIMPL_H */