2 #include "ServerORBInitializer.h"
3 #include "ServerRequest_Interceptor.h"
4 #include "tao/ORB_Constants.h"
5 #include "tao/Exception.h"
9 Server_ORBInitializer::pre_init (
10 PortableInterceptor::ORBInitInfo_ptr
17 Server_ORBInitializer::post_init (
18 PortableInterceptor::ORBInitInfo_ptr info
21 this->register_server_request_interceptors (info
27 Server_ORBInitializer::register_server_request_interceptors (
28 PortableInterceptor::ORBInitInfo_ptr info
31 PortableInterceptor::ServerRequestInterceptor_ptr sri
=
32 PortableInterceptor::ServerRequestInterceptor::_nil ();
34 ACE_NEW_THROW_EX (sri
,
35 TAO249_ServerRequest_Interceptor
,
38 PortableInterceptor::ServerRequestInterceptor_var
39 server_interceptor
= sri
;
41 info
->add_server_request_interceptor (server_interceptor
.in ()