Merge pull request #1551 from DOCGroup/plm_jira_333
[ACE_TAO.git] / TAO / orbsvcs / tests / Bug_3216_Regression / ServerORBInitializer.cpp
blob9c9670f5b469aea964c677ea04ff9d3385bc1ab0
1 // -*- C++ -*-
2 #include "ServerORBInitializer.h"
3 #include "ServerRequest_Interceptor.h"
4 #include "tao/ORB_Constants.h"
5 #include "tao/Exception.h"
8 void
9 Server_ORBInitializer::pre_init (
10 PortableInterceptor::ORBInitInfo_ptr
16 void
17 Server_ORBInitializer::post_init (
18 PortableInterceptor::ORBInitInfo_ptr info
21 this->register_server_request_interceptors (info
26 void
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,
36 CORBA::NO_MEMORY ());
38 PortableInterceptor::ServerRequestInterceptor_var
39 server_interceptor = sri;
41 info->add_server_request_interceptor (server_interceptor.in ()