2 #include "ServerORBInitializer2.h"
3 #include "ServerRequest_Interceptor2.h"
4 #include "tao/ORB_Constants.h"
5 #include "tao/Exception.h"
8 Server_ORBInitializer2::Server_ORBInitializer2 ()
14 Server_ORBInitializer2::pre_init (
15 PortableInterceptor::ORBInitInfo_ptr
21 Server_ORBInitializer2::post_init (
22 PortableInterceptor::ORBInitInfo_ptr info
25 this->register_server_request_interceptors (info
);
29 Server_ORBInitializer2::register_server_request_interceptors (
30 PortableInterceptor::ORBInitInfo_ptr info
33 TAO249_ServerRequest_Interceptor2
*sri
= 0;
34 ACE_NEW_THROW_EX (sri
,
35 TAO249_ServerRequest_Interceptor2
,
38 PortableInterceptor::ServerRequestInterceptor_var
39 server_interceptor
= sri
;
42 info
->add_server_request_interceptor (server_interceptor
.in ());
46 Server_ORBInitializer2::set_server_iogr (CORBA::Object_ptr obj
)
49 this->sri_
->server_iogr_
= CORBA::Object::_duplicate (obj
);