Revert "Use std::vector in Interceptor List"
[ACE_TAO.git] / TAO / tao / PI / PICurrent_Loader.cpp
blob7858f791087c35b9ef5717ce0a696207709fecf5
1 /* -*- C++ -*- */
3 // =================================================================
4 /**
5 * @file PICurrent_Loader.cpp
7 * @author Johnny Willemsen <jwillemsen@remedy.nl>
8 */
9 // =================================================================
11 #include "tao/PI/PICurrent_Loader.h"
13 #if TAO_HAS_INTERCEPTORS == 1
15 #include "tao/PI/PICurrent.h"
17 #include "tao/ORB.h"
18 #include "tao/ORB_Core.h"
19 #include "tao/debug.h"
21 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
23 CORBA::Object_ptr
24 TAO_PICurrent_Loader::create_object (CORBA::ORB_ptr orb, int, ACE_TCHAR *[])
26 CORBA::Object_ptr obj = CORBA::Object::_nil ();
27 ACE_NEW_RETURN (obj,
28 TAO::PICurrent (*orb->orb_core ()),
29 CORBA::Object::_nil ());
30 return obj;
34 ACE_STATIC_SVC_DEFINE (TAO_PICurrent_Loader,
35 ACE_TEXT ("PICurrent_Loader"),
36 ACE_SVC_OBJ_T,
37 &ACE_SVC_NAME (TAO_PICurrent_Loader),
38 ACE_Service_Type::DELETE_THIS | ACE_Service_Type::DELETE_OBJ,
40 ACE_FACTORY_DEFINE (TAO_PI, TAO_PICurrent_Loader)
42 TAO_END_VERSIONED_NAMESPACE_DECL
44 #endif /* TAO_HAS_INTERCEPTORS == 1 */