2 #include "Server_ORBInitializer.h"
4 Server_ORBInitializer::Server_ORBInitializer (void)
9 Server_ORBInitializer::pre_init (
10 PortableInterceptor::ORBInitInfo_ptr
)
15 Server_ORBInitializer::post_init (
16 PortableInterceptor::ORBInitInfo_ptr info
)
18 // Install the Echo server request interceptor
19 ACE_NEW_THROW_EX (this->server_interceptor_
,
20 Echo_Server_Request_Interceptor
,
23 PortableInterceptor::ServerRequestInterceptor_var interceptor
=
24 this->server_interceptor_
;
26 info
->add_server_request_interceptor (interceptor
.in ());
29 Echo_Server_Request_Interceptor
*
30 Server_ORBInitializer::server_interceptor (void)
32 return this->server_interceptor_
;