Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #include "tao/PI/PICurrent_Loader.h"
00015
00016 #if TAO_HAS_INTERCEPTORS == 1
00017
00018 #include "tao/PI/PICurrent.h"
00019
00020 #include "tao/ORB.h"
00021 #include "tao/ORB_Core.h"
00022 #include "tao/debug.h"
00023
00024 ACE_RCSID (PI,
00025 PICurrent_Loader,
00026 "$Id: PICurrent_Loader.cpp 84281 2009-01-30 15:01:17Z wotte $")
00027
00028 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00029
00030 CORBA::Object_ptr
00031 TAO_PICurrent_Loader::create_object (CORBA::ORB_ptr orb, int, ACE_TCHAR *[])
00032 {
00033 CORBA::Object_ptr obj = CORBA::Object::_nil ();
00034 ACE_NEW_RETURN (obj,
00035 TAO::PICurrent (*orb->orb_core ()),
00036 CORBA::Object::_nil ());
00037 return obj;
00038 }
00039
00040
00041 ACE_STATIC_SVC_DEFINE (TAO_PICurrent_Loader,
00042 ACE_TEXT ("PICurrent_Loader"),
00043 ACE_SVC_OBJ_T,
00044 &ACE_SVC_NAME (TAO_PICurrent_Loader),
00045 ACE_Service_Type::DELETE_THIS | ACE_Service_Type::DELETE_OBJ,
00046 0)
00047 ACE_FACTORY_DEFINE (TAO_PI, TAO_PICurrent_Loader)
00048
00049 TAO_END_VERSIONED_NAMESPACE_DECL
00050
00051 #endif