1 #include "ServerInitializer.h"
2 #include "ServerInterceptor.h"
6 ServerInitializer::ServerInitializer ()
11 ServerInitializer::pre_init (
12 PortableInterceptor::ORBInitInfo_ptr
)
17 ServerInitializer::post_init (
18 PortableInterceptor::ORBInitInfo_ptr info
)
20 // Create and register the request interceptors.
21 PortableInterceptor::ServerRequestInterceptor_ptr si
=
22 PortableInterceptor::ServerRequestInterceptor::_nil ();
26 si
= new ServerInterceptor ();
30 std::cerr
<< "Exception occurred trying to create ServerInterceptor." << std::endl
;
33 PortableInterceptor::ServerRequestInterceptor_var si_interceptor
=
36 info
->add_server_request_interceptor (si_interceptor
.in ());