Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / orbsvcs / DevGuideExamples / PortableInterceptors / PICurrent_NameService / ServerInitializer.cpp
blobc4ac773fcc4eabe52db5c5215d2bc9438be91897
1 #include "ServerInitializer.h"
2 #include "ServerInterceptor.h"
4 ServerInitializer::ServerInitializer ()
8 void
9 ServerInitializer::pre_init (
10 PortableInterceptor::ORBInitInfo_ptr)
14 void
15 ServerInitializer::post_init (
16 PortableInterceptor::ORBInitInfo_ptr info)
18 // Create and register the request interceptors.
19 PortableInterceptor::ServerRequestInterceptor_var si =
20 new ServerInterceptor();
21 info->add_server_request_interceptor (si.in());