3 //=============================================================================
5 * @file CSD_Object_Adapter_Factory.h
7 * @author Yan Dai (dai_y@ociweb.com)
9 //=============================================================================
12 #ifndef TAO_CSD_OBJECT_ADAPTER_FACTORY_H
13 #define TAO_CSD_OBJECT_ADAPTER_FACTORY_H
14 #include /**/ "ace/pre.h"
16 #include "tao/CSD_Framework/CSD_FW_Export.h"
18 #if !defined (ACE_LACKS_PRAGMA_ONCE)
20 #endif /* ACE_LACKS_PRAGMA_ONCE */
22 #include "tao/PI/PI.h"
23 #include "tao/Adapter_Factory.h"
24 #include "ace/Service_Config.h"
26 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
28 class TAO_CSD_FW_Export TAO_CSD_Object_Adapter_Factory
: public TAO_Adapter_Factory
32 TAO_CSD_Object_Adapter_Factory ();
34 // = The TAO_Adapter_Factory methods, please read tao/Adapter.h for
36 virtual TAO_Adapter
*create (TAO_ORB_Core
*orb_core
);
38 virtual int init (int argc
,
43 ACE_STATIC_SVC_DECLARE_EXPORT (TAO_CSD_FW
, TAO_CSD_Object_Adapter_Factory
)
44 ACE_FACTORY_DECLARE (TAO_CSD_FW
, TAO_CSD_Object_Adapter_Factory
)
46 TAO_END_VERSIONED_NAMESPACE_DECL
48 #include /**/ "ace/post.h"
49 #endif /* TAO_CSD_OBJECT_ADAPTER_FACTORY_H */