2 #include "tao/CSD_Framework/CSD_Framework_Loader.h"
3 #include "tao/CSD_Framework/CSD_Object_Adapter_Factory.h"
4 #include "tao/CSD_Framework/CSD_Strategy_Repository.h"
6 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
8 TAO_CSD_Framework_Loader::TAO_CSD_Framework_Loader ()
13 TAO_CSD_Framework_Loader::~TAO_CSD_Framework_Loader ()
19 TAO_CSD_Framework_Loader::static_init ()
21 ACE_Service_Config::process_directive (
22 ace_svc_desc_TAO_CSD_Object_Adapter_Factory
);
23 ACE_Service_Config::process_directive (
24 ace_svc_desc_TAO_CSD_Strategy_Repository
);
25 ACE_Service_Config::process_directive (
26 ace_svc_desc_TAO_CSD_Framework_Loader
);
32 TAO_CSD_Framework_Loader::init (int, ACE_TCHAR
* [])
34 ACE_TRACE ("TAO_CSD_Framework_Loader::init");
36 // Only allow initialization once.
37 if (this->initialized_
)
40 this->initialized_
= true;
46 /////////////////////////////////////////////////////////////////////
48 ACE_FACTORY_DEFINE (TAO_CSD_FW
, TAO_CSD_Framework_Loader
)
49 ACE_STATIC_SVC_DEFINE (TAO_CSD_Framework_Loader
,
50 ACE_TEXT ("CSD_Framework_Loader"),
52 &ACE_SVC_NAME (TAO_CSD_Framework_Loader
),
53 ACE_Service_Type::DELETE_THIS
54 | ACE_Service_Type::DELETE_OBJ
,
56 TAO_END_VERSIONED_NAMESPACE_DECL