Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / Portable_Interceptors / Bug_1559 / Server_ORBInitializer.cpp
blob83fff97dd0e9958440ab5c61852c61b2173957a8
1 // -*- C++ -*-
2 #include "Server_ORBInitializer.h"
4 Server_ORBInitializer::Server_ORBInitializer (void)
8 void
9 Server_ORBInitializer::pre_init (
10 PortableInterceptor::ORBInitInfo_ptr)
14 void
15 Server_ORBInitializer::post_init (
16 PortableInterceptor::ORBInitInfo_ptr info)
18 // Install the Echo server request interceptor
19 ACE_NEW_THROW_EX (this->server_interceptor_,
20 Echo_Server_Request_Interceptor,
21 CORBA::NO_MEMORY ());
23 PortableInterceptor::ServerRequestInterceptor_var interceptor =
24 this->server_interceptor_;
26 info->add_server_request_interceptor (interceptor.in ());
29 Echo_Server_Request_Interceptor *
30 Server_ORBInitializer::server_interceptor (void)
32 return this->server_interceptor_;