Merge pull request #1551 from DOCGroup/plm_jira_333
[ACE_TAO.git] / TAO / orbsvcs / tests / Bug_3215_Regression / ServerORBInitializer2.h
blob4bafa4e0a520e2d15e8e2e48557d43acf28e0945
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:
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);
37 private:
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 */