Updated logging to include the class/method so that it is more obvious where these...
[ACE_TAO.git] / TAO / tao / PortableServer / Object_Adapter_Factory.cpp
blob17377675a83df856bcb16856a432e58d1d410258
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
7 TAO_Adapter*
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 (),
14 *orb_core),
15 0);
16 return adapter;
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"),
22 ACE_SVC_OBJ_T,
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