Merge pull request #1815 from sonndinh/get_signal_info
[ACE_TAO.git] / TAO / interop-tests / CdrOutArg / tao / Server_ORBInitializer.cpp
blobdd22dcc19d3a4000f7d87a9b9fc8788d494cf1af
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)
16 void
17 Server_ORBInitializer::post_init (
18 PortableInterceptor::ORBInitInfo_ptr info)
20 PortableInterceptor::ServerRequestInterceptor_ptr interceptor =
21 PortableInterceptor::ServerRequestInterceptor::_nil ();
23 // Install the Echo server request interceptor
24 ACE_NEW_THROW_EX (interceptor,
25 Echo_Server_Request_Interceptor,
26 CORBA::NO_MEMORY ());
28 PortableInterceptor::ServerRequestInterceptor_var
29 server_interceptor = interceptor;
31 info->add_server_request_interceptor (server_interceptor.in ());