Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / Bug_3598a_Regression / ClientORBInitializer.cpp
blob45d43b27eca1da270ced02f295e4d95a4b14a1f7
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 ());