1 #include "tao/ObjRefTemplate/ORT_Adapter_Factory_Impl.h"
2 #include "tao/ObjRefTemplate/ORT_Adapter_Impl.h"
3 #include "tao/PortableServer/Root_POA.h"
5 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
10 ORT_Adapter_Factory_Impl::create ()
12 ORT_Adapter_Impl
* new_ort_adapter
= 0;
14 ACE_NEW_RETURN (new_ort_adapter
,
15 TAO::ORT_Adapter_Impl
,
18 return new_ort_adapter
;
22 ORT_Adapter_Factory_Impl::destroy (ORT_Adapter
* adapter
)
28 ORT_Adapter_Factory_Impl::Initializer ()
30 TAO_Root_POA::ort_adapter_factory_name ("Concrete_ORT_Adapter_Factory");
32 return ACE_Service_Config::process_directive (
33 ace_svc_desc_ORT_Adapter_Factory_Impl
);
37 TAO_END_VERSIONED_NAMESPACE_DECL
39 ACE_STATIC_SVC_DEFINE (
40 ORT_Adapter_Factory_Impl
,
41 ACE_TEXT ("Concrete_ORT_Adapter_Factory"),
43 &ACE_SVC_NAME (ORT_Adapter_Factory_Impl
),
44 ACE_Service_Type::DELETE_THIS
| ACE_Service_Type::DELETE_OBJ
,
47 ACE_FACTORY_NAMESPACE_DEFINE (
49 ORT_Adapter_Factory_Impl
,
50 TAO::ORT_Adapter_Factory_Impl
)