3 //=============================================================================
5 * @file ServerORBInitializer.h
7 * @author Ossama Othman <ossama@uci.edu>
9 //=============================================================================
11 #ifndef SERVER_ORB_INITIALIZER_H
12 #define SERVER_ORB_INITIALIZER_H
14 #include "ace/config-all.h"
16 #if !defined (ACE_LACKS_PRAGMA_ONCE)
18 #endif /* ACE_LACKS_PRAGMA_ONCE */
20 #include "tao/PI/PI.h"
21 #include "tao/LocalObject.h"
25 #pragma warning(disable:4250)
29 * @class ServerORBInitializer
31 * @brief Simple concrete ORB initializer.
33 * This is a test ORB initializer that registers an IORInterceptor and
34 * ServerRequestIntercepor for this ORT test.
36 class ServerORBInitializer
:
37 public virtual PortableInterceptor::ORBInitializer
,
38 public virtual ::CORBA::LocalObject
42 * @name Methods Required by the ORBInitializer Interface
44 * These are methods that must be implemented since they are pure
45 * virtual in the abstract base class. They are the canonical
46 * methods required for all ORB initializers.
49 /// The pre-initialization hook.
50 virtual void pre_init (
51 PortableInterceptor::ORBInitInfo_ptr info
);
53 /// The post-initialization hook.
54 virtual void post_init (
55 PortableInterceptor::ORBInitInfo_ptr info
);
64 #endif /* SERVER_ORB_INITIALIZER_H */