1 #include "ServerInitializer.h"
2 #include "ServerInterceptor.h"
4 #if defined (ACE_HAS_STANDARD_CPP_LIBRARY) && (ACE_HAS_STANDARD_CPP_LIBRARY == 1)
10 ServerInitializer::ServerInitializer ()
15 ServerInitializer::pre_init (
16 PortableInterceptor::ORBInitInfo_ptr
)
21 ServerInitializer::post_init (
22 PortableInterceptor::ORBInitInfo_ptr info
)
25 // Create and register the request interceptors.
26 PortableInterceptor::ServerRequestInterceptor_ptr si
=
27 PortableInterceptor::ServerRequestInterceptor::_nil ();
31 si
= new ServerInterceptor ();
35 std::cerr
<< "Exception occurred trying to create ServerInterceptor." << std::endl
;
38 PortableInterceptor::ServerRequestInterceptor_var si_interceptor
=
41 info
->add_server_request_interceptor (si_interceptor
.in ());