Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / DII_AMI_Forward / orb_initializer.cpp
blob345f983b3a0df88c03862177f4a17cada3f56917
1 // -*- C++ -*-
3 #include "orb_initializer.h"
4 #include "server_interceptor.h"
6 Server_ORBInitializer::Server_ORBInitializer (void)
10 void
11 Server_ORBInitializer::pre_init (
12 PortableInterceptor::ORBInitInfo_ptr)
14 // No Op
17 void
18 Server_ORBInitializer::post_init (
19 PortableInterceptor::ORBInitInfo_ptr info)
21 // Install the Echo server request interceptor
22 ACE_NEW_THROW_EX (this->server_interceptor_,
23 ForwardTest_Request_Interceptor,
24 CORBA::NO_MEMORY ());
26 PortableInterceptor::ServerRequestInterceptor_var interceptor =
27 this->server_interceptor_;
29 info->add_server_request_interceptor (interceptor.in ());
32 ForwardTest_Request_Interceptor *
33 Server_ORBInitializer::server_interceptor (void)
35 return this->server_interceptor_;