3 #ifndef TAO_SERVER_ORB_INITIALIZER_H
4 #define TAO_SERVER_ORB_INITIALIZER_H
5 #include /**/ "ace/pre.h"
7 #include "tao/LocalObject.h"
10 #if !defined (ACE_LACKS_PRAGMA_ONCE)
12 #endif /* ACE_LACKS_PRAGMA_ONCE */
15 class ForwardTest_Request_Interceptor
;
17 // This is to remove "inherits via dominance" warnings from MSVC.
18 // MSVC is being a little too paranoid.
21 #pragma warning(disable:4250)
24 /// Server ORB initializer.
25 class Server_ORBInitializer
26 : public virtual PortableInterceptor::ORBInitializer
27 , public virtual CORBA::LocalObject
31 Server_ORBInitializer ();
33 virtual void pre_init (PortableInterceptor::ORBInitInfo_ptr info
);
35 virtual void post_init (PortableInterceptor::ORBInitInfo_ptr info
);
37 /// Return the created server request interceptor. Only valid after
38 /// post_init(), i.e. ORB_init(), has been called.
39 ForwardTest_Request_Interceptor
* server_interceptor ();
42 /// Pointer to the server request interceptor. ORB is responsible
44 ForwardTest_Request_Interceptor
* server_interceptor_
;
51 #include /**/ "ace/post.h"
52 #endif /* TAO_SERVER_ORB_INITIALIZER_H */