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
28 Server_ORBInitializer2 ();
30 virtual void pre_init (PortableInterceptor::ORBInitInfo_ptr info
);
32 virtual void post_init (PortableInterceptor::ORBInitInfo_ptr info
);
34 void set_server_iogr (CORBA::Object_ptr obj
);
37 /// Register the necessary interceptors.
38 void register_server_request_interceptors (PortableInterceptor::ORBInitInfo_ptr info
);
40 // Private temporary pointer
41 TAO249_ServerRequest_Interceptor2
*sri_
;
44 #include /**/ "ace/post.h"
46 #endif /* TAO249_SERVER_ORBINITIALIZER2_H */