00001 // -*- C++ -*- 00002 00003 //============================================================================= 00004 /** 00005 * @file CSD_Default_Servant_Dispatcher.h 00006 * 00007 * $Id: CSD_Default_Servant_Dispatcher.h 80376 2008-01-06 07:37:06Z johnnyw $ 00008 * 00009 * @author Yan Dai (dai_y@ociweb.com) 00010 */ 00011 //============================================================================= 00012 00013 #ifndef TAO_CSD_DEFAULT_SERVANT_DISPATCHER_H 00014 #define TAO_CSD_DEFAULT_SERVANT_DISPATCHER_H 00015 #include /**/ "ace/pre.h" 00016 00017 #include "tao/CSD_Framework/CSD_FW_Export.h" 00018 00019 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00020 # pragma once 00021 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00022 00023 #include "tao/PortableServer/Default_Servant_Dispatcher.h" 00024 00025 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00026 00027 /** 00028 * @class TAO_CSD_Default_Servant_Dispatcher 00029 * 00030 * @brief Interface for CSD_POA servant dispatching strategies. 00031 */ 00032 class TAO_CSD_FW_Export TAO_CSD_Default_Servant_Dispatcher 00033 : public virtual TAO_Default_Servant_Dispatcher 00034 { 00035 public: 00036 virtual ~TAO_CSD_Default_Servant_Dispatcher (void); 00037 00038 /// Factory method for creating new CSD Root POA. 00039 virtual TAO_Root_POA *create_Root_POA (const ACE_CString &name, 00040 PortableServer::POAManager_ptr poa_manager, 00041 const TAO_POA_Policy_Set &policies, 00042 ACE_Lock &lock, 00043 TAO_SYNCH_MUTEX &thread_lock, 00044 TAO_ORB_Core &orb_core, 00045 TAO_Object_Adapter *object_adapter); 00046 }; 00047 00048 TAO_END_VERSIONED_NAMESPACE_DECL 00049 00050 #include /**/ "ace/post.h" 00051 #endif /* TAO_CSD_DEFAULT_SERVANT_DISPATCHER_H */