3 //=============================================================================
4 //=============================================================================
5 #ifndef TAO249_SERVER_ORBINITIALIZER2_H
6 #define TAO249_SERVER_ORBINITIALIZER2_H
8 #include /**/ "ace/pre.h"
10 #include "tao/PortableInterceptorC.h"
11 #include "tao/PI_Server/PI_Server_includeC.h"
12 #include "tao/PI/PI.h"
14 #if !defined (ACE_LACKS_PRAGMA_ONCE)
16 #endif /* ACE_LACKS_PRAGMA_ONCE */
18 #include "tao/LocalObject.h"
20 class TAO249_ServerRequest_Interceptor2
;
22 /// RTCORBA ORB initializer.
23 class Server_ORBInitializer2
:
24 public virtual PortableInterceptor::ORBInitializer
,
25 public virtual ::CORBA::LocalObject
29 Server_ORBInitializer2 (void);
31 virtual void pre_init (PortableInterceptor::ORBInitInfo_ptr info
);
33 virtual void post_init (PortableInterceptor::ORBInitInfo_ptr info
);
35 void set_server_iogr (CORBA::Object_ptr obj
);
39 /// Register the necessary interceptors.
40 void register_server_request_interceptors (PortableInterceptor::ORBInitInfo_ptr info
);
42 // Private temporary pointer
43 TAO249_ServerRequest_Interceptor2
*sri_
;
46 #include /**/ "ace/post.h"
48 #endif /* TAO249_SERVER_ORBINITIALIZER2_H */