2 #include "Client_ORBInitializer.h"
4 #if TAO_HAS_INTERCEPTORS == 1
6 #include "Client_Request_Interceptor.h"
7 #include "tao/StringSeqC.h"
8 #include "tao/ORB_Constants.h"
9 #include "ace/OS_NS_string.h"
12 Client_ORBInitializer::pre_init (PortableInterceptor::ORBInitInfo_ptr
)
17 Client_ORBInitializer::post_init (PortableInterceptor::ORBInitInfo_ptr info
)
19 // Install the client request interceptor.
20 ACE_NEW_THROW_EX (client_interceptor_
,
21 Client_Request_Interceptor
,
23 CORBA::SystemException::_tao_minor_code (
26 CORBA::COMPLETED_NO
));
28 PortableInterceptor::ClientRequestInterceptor_var
29 client_interceptor
= client_interceptor_
;
31 info
->add_client_request_interceptor (client_interceptor
.in ());
34 #endif /* TAO_HAS_INTERCEPTORS == 1 */