Merge pull request #2303 from jwillemsen/jwi-803
[ACE_TAO.git] / TAO / orbsvcs / tests / Bug_3215_Regression / ServerORBInitializer2.h
blob8ab29827aa296e5c4c9a9a44350a8d854b51f423
1 // -*- C++ -*-
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)
15 # 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
27 public:
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);
36 private:
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 */