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 79212 2007-08-06 05:13:12Z 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, 00020 int, 00021 ACE_TCHAR *[]) 00022 { 00023 CORBA::Object_ptr obj; 00024 ACE_NEW_RETURN (obj, 00025 TAO_IOR_Manipulation_impl, 00026 CORBA::Object::_nil ()); 00027 return obj; 00028 } 00029 00030 int 00031 TAO_IORManip_Loader::Initializer (void) 00032 { 00033 return ACE_Service_Config::process_directive (ace_svc_desc_TAO_IORManip_Loader); 00034 } 00035 00036 TAO_END_VERSIONED_NAMESPACE_DECL 00037 00038 ACE_STATIC_SVC_DEFINE (TAO_IORManip_Loader, 00039 ACE_TEXT ("IORManip_Loader"), 00040 ACE_SVC_OBJ_T, 00041 &ACE_SVC_NAME (TAO_IORManip_Loader), 00042 ACE_Service_Type::DELETE_THIS | ACE_Service_Type::DELETE_OBJ, 00043 0) 00044 ACE_FACTORY_DEFINE (TAO_IORManip, TAO_IORManip_Loader)