Merge pull request #2303 from jwillemsen/jwi-803
[ACE_TAO.git] / TAO / tests / Bug_3598a_Regression / ClientORBInitializer.cpp
blob04d12398ace0fb77f30cc5f167c451e416a8444a
1 // -*- C++ -*-
2 #include "ClientORBInitializer.h"
4 void
5 ClientORBInitializer::pre_init (PortableInterceptor::ORBInitInfo_ptr)
7 // No-op
10 void
11 ClientORBInitializer::post_init (PortableInterceptor::ORBInitInfo_ptr info)
13 PortableInterceptor::ClientRequestInterceptor_ptr cri =
14 PortableInterceptor::ClientRequestInterceptor::_nil ();
16 ACE_NEW_THROW_EX (cri,
17 ClientRequest_Interceptor,
18 CORBA::NO_MEMORY ());
20 PortableInterceptor::ClientRequestInterceptor_var
21 client_interceptor = cri;
23 info->add_client_request_interceptor (client_interceptor.in ());