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 "IORManip_Loader.cpp,v 1.10 2006/03/10 07:19:11 jtc Exp") 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 ACE_ENV_ARG_DECL_NOT_USED) 00023 ACE_THROW_SPEC ((CORBA::SystemException)) 00024 { 00025 CORBA::Object_ptr obj; 00026 ACE_NEW_RETURN (obj, 00027 TAO_IOR_Manipulation_impl, 00028 CORBA::Object::_nil ()); 00029 return obj; 00030 } 00031 00032 int 00033 TAO_IORManip_Loader::Initializer (void) 00034 { 00035 return ACE_Service_Config::process_directive (ace_svc_desc_TAO_IORManip_Loader); 00036 } 00037 00038 TAO_END_VERSIONED_NAMESPACE_DECL 00039 00040 ACE_STATIC_SVC_DEFINE (TAO_IORManip_Loader, 00041 ACE_TEXT ("IORManip_Loader"), 00042 ACE_SVC_OBJ_T, 00043 &ACE_SVC_NAME (TAO_IORManip_Loader), 00044 ACE_Service_Type::DELETE_THIS | ACE_Service_Type::DELETE_OBJ, 00045 0) 00046 ACE_FACTORY_DEFINE (TAO_IORManip, TAO_IORManip_Loader)