Updated logging to include the class/method so that it is more obvious where these...
[ACE_TAO.git] / TAO / tao / PortableServer / POA_Current_Factory.cpp
blob7cad00bf77c90c9c83f6e9863f953f27cc6bc4e1
1 #include "tao/PortableServer/POA_Current_Factory.h"
2 #include "tao/PortableServer/POA_Current.h"
3 #include "tao/ORB_Core.h"
5 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
7 CORBA::Object_ptr
8 TAO_POA_Current_Factory::create_object (CORBA::ORB_ptr,
9 int,
10 ACE_TCHAR * [])
12 TAO::Portable_Server::POA_Current* adapter = 0;
13 ACE_NEW_RETURN (adapter,
14 TAO::Portable_Server::POA_Current (),
15 0);
16 return adapter;
19 ACE_FACTORY_DEFINE (TAO_PortableServer, TAO_POA_Current_Factory)
20 ACE_STATIC_SVC_DEFINE (TAO_POA_Current_Factory,
21 ACE_TEXT ("TAO_POA_Current_Factory"),
22 ACE_SVC_OBJ_T,
23 &ACE_SVC_NAME (TAO_POA_Current_Factory),
24 ACE_Service_Type::DELETE_THIS | ACE_Service_Type::DELETE_OBJ,
27 TAO_END_VERSIONED_NAMESPACE_DECL