3 //=============================================================================
5 * @file Server_ORBInitializer.h
7 * @author Ossama Othman <ossama@uci.edu>
9 //=============================================================================
11 #ifndef BUG_2248_REGRESSION_SERVER_ORB_INITIALIZER_H
12 #define BUG_2248_REGRESSION_SERVER_ORB_INITIALIZER_H
14 #include /**/ "ace/pre.h"
16 #include "tao/LocalObject.h"
18 #if !defined (ACE_LACKS_PRAGMA_ONCE)
20 #endif /* ACE_LACKS_PRAGMA_ONCE */
22 #if TAO_HAS_INTERCEPTORS == 1
24 #include "tao/PI/PI.h"
26 // This is to remove "inherits via dominance" warnings from MSVC.
27 // MSVC is being a little too paranoid.
30 #pragma warning(disable:4250)
33 // Forward declaration.
34 class Server_Request_Interceptor
;
36 /// Server side ORB initializer.
37 class Server_ORBInitializer
:
38 public virtual PortableInterceptor::ORBInitializer
,
39 public virtual ::CORBA::LocalObject
44 Server_ORBInitializer (void);
46 virtual void pre_init (PortableInterceptor::ORBInitInfo_ptr info
);
48 virtual void post_init (PortableInterceptor::ORBInitInfo_ptr info
);
50 /// Return the created server request interceptor. Only valid after
51 /// post_init(), i.e. ORB_init(), has been called.
52 PortableInterceptor::ServerRequestInterceptor_ptr
server_interceptor (void);
56 /// Pointer to the server request interceptor. ORB is responsible
58 PortableInterceptor::ServerRequestInterceptor_var server_interceptor_
;
65 #endif /* TAO_HAS_INTERCEPTORS == 1 */
67 #include /**/ "ace/post.h"
69 #endif /* BUG_2248_REGRESSION_SERVER_ORB_INITIALIZER_H */