Merge pull request #2222 from jwillemsen/jwi-dllexportwarning
[ACE_TAO.git] / TAO / tests / Bug_3853_Regression / Client_ORBInitializer.cpp
blob02abc62c33bcaa60c0e50c37d5d827193b4316ef
1 #include "Client_ORBInitializer.h"
2 #include "client_interceptor.h"
4 void
5 Client_ORBInitializer::pre_init (
6 PortableInterceptor::ORBInitInfo_ptr)
10 void
11 Client_ORBInitializer::post_init (
12 PortableInterceptor::ORBInitInfo_ptr info)
14 PortableInterceptor::ClientRequestInterceptor_ptr interceptor =
15 PortableInterceptor::ClientRequestInterceptor::_nil ();
17 // Install the Echo client request interceptor
18 ACE_NEW_THROW_EX (interceptor,
19 Echo_Client_Request_Interceptor (),
20 CORBA::NO_MEMORY ());
22 PortableInterceptor::ClientRequestInterceptor_var
23 client_interceptor = interceptor;
25 info->add_client_request_interceptor (client_interceptor.in ());