3
// Echo_Client_ORBInitializer.cpp,v 1.5 2002/01/29 20:21:09 okellogg Exp
5
#include "Echo_Client_ORBInitializer.h"
7
ACE_RCSID (Dynamic, Echo_Client_ORBInitializer, "Echo_Client_ORBInitializer.cpp,v 1.5 2002/01/29 20:21:09 okellogg Exp")
9
#if TAO_HAS_INTERCEPTORS == 1
11
#include "interceptors.h"
14
Echo_Client_ORBInitializer::pre_init (
15
PortableInterceptor::ORBInitInfo_ptr
16
ACE_ENV_ARG_DECL_NOT_USED)
17
ACE_THROW_SPEC ((CORBA::SystemException))
22
Echo_Client_ORBInitializer::post_init (
23
PortableInterceptor::ORBInitInfo_ptr info
25
ACE_THROW_SPEC ((CORBA::SystemException))
28
PortableInterceptor::ClientRequestInterceptor_ptr interceptor =
29
PortableInterceptor::ClientRequestInterceptor::_nil ();
31
// Install the Echo client request interceptor
32
ACE_NEW_THROW_EX (interceptor,
33
Echo_Client_Request_Interceptor,
37
PortableInterceptor::ClientRequestInterceptor_var
38
client_interceptor = interceptor;
40
info->add_client_request_interceptor (client_interceptor.in ()
41
ACE_ENV_ARG_PARAMETER);
46
#endif /* TAO_HAS_INTERCEPTORS == 1 */