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
8 TAO_POA_Current_Factory::create_object (CORBA::ORB_ptr
,
12 TAO::Portable_Server::POA_Current
* adapter
= 0;
13 ACE_NEW_RETURN (adapter
,
14 TAO::Portable_Server::POA_Current (),
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"),
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