2 #include "ServerORBInitializer2.h"
3 #include "ServerRequest_Interceptor2.h"
4 #include "tao/ORB_Constants.h"
5 #include "tao/Exception.h"
9 Server_ORBInitializer2::pre_init (
10 PortableInterceptor::ORBInitInfo_ptr
)
16 Server_ORBInitializer2::post_init (
17 PortableInterceptor::ORBInitInfo_ptr info
)
19 this->register_server_request_interceptors (info
);
23 Server_ORBInitializer2::register_server_request_interceptors (
24 PortableInterceptor::ORBInitInfo_ptr info
)
26 PortableInterceptor::ServerRequestInterceptor_ptr sri
=
27 PortableInterceptor::ServerRequestInterceptor::_nil ();
29 ACE_NEW_THROW_EX (sri
,
30 TAO249_ServerRequest_Interceptor2
,
33 PortableInterceptor::ServerRequestInterceptor_var
34 server_interceptor
= sri
;
36 info
->add_server_request_interceptor (server_interceptor
.in ());