Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / interop-tests / CdrOutArg / orbix / Server_ORBInitializer.cxx
blob19e716876411dd30592befe4fd5b77d9b93467dc
1 // -*- C++ -*-
3 #include "Server_ORBInitializer.h"
4 #include "server_interceptor.h"
6 Server_ORBInitializer::Server_ORBInitializer (void)
10 void
11 Server_ORBInitializer::pre_init (
12 PortableInterceptor::ORBInitInfo_ptr info)
14 /* Orbix 6 requires interceptor to be registered during pre_init,
15 * otherwise interceptor's interception points do not get called.
16 * mcknerney, 11/07/2013
18 PortableInterceptor::ServerRequestInterceptor_var
19 server_interceptor = new Echo_Server_Request_Interceptor();
21 info->add_server_request_interceptor (server_interceptor.in ());
24 void
25 Server_ORBInitializer::post_init (
26 PortableInterceptor::ORBInitInfo_ptr info)