3 #include "orb_initializer.h"
4 #include "server_interceptor.h"
6 Server_ORBInitializer::Server_ORBInitializer ()
11 Server_ORBInitializer::pre_init (
12 PortableInterceptor::ORBInitInfo_ptr
)
18 Server_ORBInitializer::post_init (
19 PortableInterceptor::ORBInitInfo_ptr info
)
21 // Install the Echo server request interceptor
22 ACE_NEW_THROW_EX (this->server_interceptor_
,
23 ForwardTest_Request_Interceptor
,
26 PortableInterceptor::ServerRequestInterceptor_var interceptor
=
27 this->server_interceptor_
;
29 info
->add_server_request_interceptor (interceptor
.in ());
32 ForwardTest_Request_Interceptor
*
33 Server_ORBInitializer::server_interceptor ()
35 return this->server_interceptor_
;