3 #include "Server_ORBInitializer.h"
4 #include "server_interceptor.h"
6 Server_ORBInitializer::Server_ORBInitializer (void)
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 Echo_Server_Request_Interceptor
,
26 PortableInterceptor::ServerRequestInterceptor_var interceptor
=
27 this->server_interceptor_
;
29 info
->add_server_request_interceptor (interceptor
.in ());
32 Echo_Server_Request_Interceptor
*
33 Server_ORBInitializer::server_interceptor (void)
35 return this->server_interceptor_
;