Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / PortableServer / RequestProcessingStrategyServantManager.h
blob65438cb07f7f1d2648d6e389c4f50c7123dc5035
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file RequestProcessingStrategyServantManager.h
7 * @author Johnny Willemsen <jwillemsen@remedy.nl>
8 */
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)
18 # 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
28 namespace TAO
30 namespace Portable_Server
32 class RequestProcessingStrategyServantManager
33 : public RequestProcessingStrategy
35 public:
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 */