1 #include "tao/PortableServer/Object_Adapter_Factory.h"
2 #include "tao/PortableServer/Object_Adapter.h"
3 #include "tao/ORB_Core.h"
5 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
8 TAO_Object_Adapter_Factory::create (TAO_ORB_Core
*orb_core
)
10 TAO_Adapter
* adapter
= 0;
11 ACE_NEW_RETURN (adapter
,
12 TAO_Object_Adapter (orb_core
->server_factory ()->
13 active_object_map_creation_parameters (),
19 ACE_FACTORY_DEFINE (TAO_PortableServer
, TAO_Object_Adapter_Factory
)
20 ACE_STATIC_SVC_DEFINE (TAO_Object_Adapter_Factory
,
21 ACE_TEXT ("TAO_Object_Adapter_Factory"),
23 &ACE_SVC_NAME (TAO_Object_Adapter_Factory
),
24 ACE_Service_Type::DELETE_THIS
| ACE_Service_Type::DELETE_OBJ
,
27 TAO_END_VERSIONED_NAMESPACE_DECL