Merge pull request #2222 from jwillemsen/jwi-dllexportwarning
[ACE_TAO.git] / TAO / tests / TransportCurrent / lib / Server_ORBInitializer.cpp
blob974781ef717aec5cef50a233ccf881ac4a071aac
1 // -*- C++ -*-
2 #include "ace/Log_Msg.h"
4 #include "Server_Request_Interceptor.h"
5 #include "Server_ORBInitializer.h"
7 namespace Test
9 Server_ORBInitializer::Server_ORBInitializer
10 (PortableInterceptor::ServerRequestInterceptor_ptr interceptor)
11 : interceptor_
12 (PortableInterceptor::ServerRequestInterceptor::_duplicate (interceptor))
14 /* no-op */
17 Server_ORBInitializer::~Server_ORBInitializer ()
19 /* no-op */
22 void
23 Server_ORBInitializer::pre_init(PortableInterceptor::ORBInitInfo*)
25 /* no-op */
28 // A specialization to handle client-side interceptors
29 void Server_ORBInitializer::post_init (PortableInterceptor::ORBInitInfo* oii)
31 oii->add_server_request_interceptor (this->interceptor_.in ());