summaryrefslogtreecommitdiff
path: root/TAO/tao/IORManipulation/IORManip_Loader.cpp
blob: 11fd191b7b6e730cf7e44db79e2e92d8882951a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#include "tao/IORManipulation/IORManip_Loader.h"
#include "tao/IORManipulation/IORManipulation.h"

#include "ace/Log_Msg.h"

TAO_BEGIN_VERSIONED_NAMESPACE_DECL

TAO_IORManip_Loader::TAO_IORManip_Loader (void)
{
}

CORBA::Object_ptr
TAO_IORManip_Loader::create_object (CORBA::ORB_ptr, int, ACE_TCHAR *[])
{
  CORBA::Object_ptr obj;
  ACE_NEW_RETURN (obj,
                  TAO_IOR_Manipulation_impl,
                  CORBA::Object::_nil ());
  return obj;
}

int
TAO_IORManip_Loader::Initializer (void)
{
  return ACE_Service_Config::process_directive (ace_svc_desc_TAO_IORManip_Loader);
}


ACE_STATIC_SVC_DEFINE (TAO_IORManip_Loader,
                       ACE_TEXT ("IORManip_Loader"),
                       ACE_SVC_OBJ_T,
                       &ACE_SVC_NAME (TAO_IORManip_Loader),
                       ACE_Service_Type::DELETE_THIS | ACE_Service_Type::DELETE_OBJ,
                       0)
ACE_FACTORY_DEFINE (TAO_IORManip, TAO_IORManip_Loader)

TAO_END_VERSIONED_NAMESPACE_DECL