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
)
17 Server_ORBInitializer::post_init (
18 PortableInterceptor::ORBInitInfo_ptr info
)
20 PortableInterceptor::ServerRequestInterceptor_ptr interceptor
=
21 PortableInterceptor::ServerRequestInterceptor::_nil ();
23 // Install the Echo server request interceptor
24 ACE_NEW_THROW_EX (interceptor
,
25 Echo_Server_Request_Interceptor
,
28 PortableInterceptor::ServerRequestInterceptor_var
29 server_interceptor
= interceptor
;
31 info
->add_server_request_interceptor (server_interceptor
.in ());