3 //=============================================================================
5 * @file CSD_Default_Servant_Dispatcher.h
7 * @author Yan Dai (dai_y@ociweb.com)
9 //=============================================================================
11 #ifndef TAO_CSD_DEFAULT_SERVANT_DISPATCHER_H
12 #define TAO_CSD_DEFAULT_SERVANT_DISPATCHER_H
13 #include /**/ "ace/pre.h"
15 #include "tao/CSD_Framework/CSD_FW_Export.h"
17 #if !defined (ACE_LACKS_PRAGMA_ONCE)
19 #endif /* ACE_LACKS_PRAGMA_ONCE */
21 #include "tao/PortableServer/Default_Servant_Dispatcher.h"
23 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
26 * @class TAO_CSD_Default_Servant_Dispatcher
28 * @brief Interface for CSD_POA servant dispatching strategies.
30 class TAO_CSD_FW_Export TAO_CSD_Default_Servant_Dispatcher
31 : public virtual TAO_Default_Servant_Dispatcher
34 virtual ~TAO_CSD_Default_Servant_Dispatcher ();
36 /// Factory method for creating new CSD Root POA.
37 virtual TAO_Root_POA
*create_Root_POA (const ACE_CString
&name
,
38 PortableServer::POAManager_ptr poa_manager
,
39 const TAO_POA_Policy_Set
&policies
,
41 TAO_SYNCH_MUTEX
&thread_lock
,
42 TAO_ORB_Core
&orb_core
,
43 TAO_Object_Adapter
*object_adapter
);
46 TAO_END_VERSIONED_NAMESPACE_DECL
48 #include /**/ "ace/post.h"
49 #endif /* TAO_CSD_DEFAULT_SERVANT_DISPATCHER_H */