00001 #include "tao/IORManipulation/IORManip_Loader.h" 00002 #include "tao/IORManipulation/IORManipulation.h" 00003 00004 #include "ace/Log_Msg.h" 00005 00006 00007 ACE_RCSID (IORManipulation, 00008 IORManip_Loader, 00009 "$Id: IORManip_Loader.cpp 81301 2008-04-09 18:02:14Z johnnyw $") 00010 00011 00012 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00013 00014 TAO_IORManip_Loader::TAO_IORManip_Loader (void) 00015 { 00016 } 00017 00018 CORBA::Object_ptr 00019 TAO_IORManip_Loader::create_object (CORBA::ORB_ptr, int, ACE_TCHAR *[]) 00020 { 00021 CORBA::Object_ptr obj; 00022 ACE_NEW_RETURN (obj, 00023 TAO_IOR_Manipulation_impl, 00024 CORBA::Object::_nil ()); 00025 return obj; 00026 } 00027 00028 int 00029 TAO_IORManip_Loader::Initializer (void) 00030 { 00031 return ACE_Service_Config::process_directive (ace_svc_desc_TAO_IORManip_Loader); 00032 } 00033 00034 TAO_END_VERSIONED_NAMESPACE_DECL 00035 00036 ACE_STATIC_SVC_DEFINE (TAO_IORManip_Loader, 00037 ACE_TEXT ("IORManip_Loader"), 00038 ACE_SVC_OBJ_T, 00039 &ACE_SVC_NAME (TAO_IORManip_Loader), 00040 ACE_Service_Type::DELETE_THIS | ACE_Service_Type::DELETE_OBJ, 00041 0) 00042 ACE_FACTORY_DEFINE (TAO_IORManip, TAO_IORManip_Loader)