3 // =================================================================
5 * @file PolicyFactory_Loader.cpp
7 * @author Johnny Willemsen <jwillemsen@remedy.nl>
9 // =================================================================
11 #include "tao/PI/PolicyFactory_Loader.h"
12 #include "tao/PI/PolicyFactory_Registry.h"
15 #include "tao/debug.h"
17 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
19 TAO::PolicyFactory_Registry_Adapter
*
20 TAO_PolicyFactory_Loader::create ()
22 TAO::PolicyFactory_Registry_Adapter
* obj
= nullptr;
24 TAO_PolicyFactory_Registry
,
30 TAO_PolicyFactory_Loader::Initializer ()
32 return ACE_Service_Config::process_directive (ace_svc_desc_TAO_PolicyFactory_Loader
);
36 ACE_STATIC_SVC_DEFINE (TAO_PolicyFactory_Loader
,
37 ACE_TEXT ("PolicyFactory_Loader"),
39 &ACE_SVC_NAME (TAO_PolicyFactory_Loader
),
40 ACE_Service_Type::DELETE_THIS
| ACE_Service_Type::DELETE_OBJ
,
42 ACE_FACTORY_DEFINE (TAO_PI
, TAO_PolicyFactory_Loader
)
44 TAO_END_VERSIONED_NAMESPACE_DECL