3 #ifndef TAO_SERVER_ORB_INITIALIZER_H
4 #define TAO_SERVER_ORB_INITIALIZER_H
5 #include /**/ "ace/pre.h"
9 #if !defined (ACE_LACKS_PRAGMA_ONCE)
11 #endif /* ACE_LACKS_PRAGMA_ONCE */
13 #include "tao/LocalObject.h"
14 #include "server_interceptor.h"
16 // This is to remove "inherits via dominance" warnings from MSVC.
17 // MSVC is being a little too paranoid.
20 #pragma warning(disable:4250)
23 /// Server ORB initializer.
24 class Server_ORBInitializer
:
25 public virtual PortableInterceptor::ORBInitializer
,
26 public virtual ::CORBA::LocalObject
30 Server_ORBInitializer (void);
32 virtual void pre_init (PortableInterceptor::ORBInitInfo_ptr info
);
34 virtual void post_init (PortableInterceptor::ORBInitInfo_ptr info
);
36 /// Return the created server request interceptor. Only valid after
37 /// post_init(), i.e. ORB_init(), has been called.
38 Echo_Server_Request_Interceptor
* server_interceptor (void);
41 /// Pointer to the server request interceptor. ORB is responsible
43 Echo_Server_Request_Interceptor
* server_interceptor_
;
50 #include /**/ "ace/post.h"
51 #endif /* TAO_SERVER_ORB_INITIALIZER_H */