Merge pull request #2222 from jwillemsen/jwi-dllexportwarning
[ACE_TAO.git] / TAO / tests / Portable_Interceptors / Bug_1559 / Server_ORBInitializer.cpp
blobebcb1dea9b67bc823e4c699c74866073dc5b232d
1 // -*- C++ -*-
2 #include "Server_ORBInitializer.h"
4 Server_ORBInitializer::Server_ORBInitializer ()
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 ()
32 return this->server_interceptor_;