3 //=============================================================================
5 * @file RequestProcessingStrategyServantManager.h
7 * @author Johnny Willemsen <jwillemsen@remedy.nl>
9 //=============================================================================
11 #ifndef TAO_REQUESTPROCESSINGSTRATEGYSERVANTMANAGER_H
12 #define TAO_REQUESTPROCESSINGSTRATEGYSERVANTMANAGER_H
13 #include /**/ "ace/pre.h"
15 #include "tao/PortableServer/RequestProcessingStrategy.h"
17 #if !defined (ACE_LACKS_PRAGMA_ONCE)
19 #endif /* ACE_LACKS_PRAGMA_ONCE */
21 #include "tao/PortableServer/Servant_Location.h"
22 #include "tao/PortableServer/PortableServer.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 RequestProcessingStrategyServantManager
33 : public RequestProcessingStrategy
36 RequestProcessingStrategyServantManager () = default;
38 PortableServer::Servant
get_servant () override
;
40 void set_servant (PortableServer::Servant servant
) override
;
42 virtual void validate_servant_manager (
43 PortableServer::ServantManager_ptr servant_manager
);
45 PortableServer::Servant
system_id_to_servant (const PortableServer::ObjectId
&system_id
) override
;
47 PortableServer::Servant
id_to_servant (const PortableServer::ObjectId
&id
) override
;
49 PortableServer::ObjectId
*servant_to_id (PortableServer::Servant servant
) override
;
54 TAO_END_VERSIONED_NAMESPACE_DECL
56 #endif /* TAO_HAS_MINIMUM_POA == 0 */
58 #include /**/ "ace/post.h"
59 #endif /* TAO_REQUESTPROCESSINGSTRATEGYSERVANTMANAGER_H */