3 //=============================================================================
5 * @file Server_ORBInitializer.h
7 * Implementation header for the IOR test interceptor ORB
10 * @author Ossama Othman <ossama@dre.vanderbilt.edu>
12 //=============================================================================
14 #ifndef SERVER_ORB_INITIALIZER_H
15 #define SERVER_ORB_INITIALIZER_H
17 #include "ace/config-all.h"
19 #if !defined (ACE_LACKS_PRAGMA_ONCE)
21 #endif /* ACE_LACKS_PRAGMA_ONCE */
23 #include "tao/PI/PI.h"
24 #include "tao/LocalObject.h"
28 #pragma warning(disable:4250)
32 * @class Server_ORBInitializer
34 * @brief Simple concrete ORB initializer.
36 * This is a test ORB initializer that registers a PolicyFactory and
37 * IORInterceptor for this test.
39 class Server_ORBInitializer
40 : public virtual PortableInterceptor::ORBInitializer
,
41 public virtual ::CORBA::LocalObject
46 * @name Methods Required by the ORBInitializer Interface
48 * These are methods that must be implemented since they are pure
49 * virtual in the abstract base class. They are the canonical
50 * methods required for all ORB initializers.
53 /// The pre-initialization hook.
54 virtual void pre_init (
55 PortableInterceptor::ORBInitInfo_ptr info
);
57 /// The post-initialization hook.
58 virtual void post_init (
59 PortableInterceptor::ORBInitInfo_ptr info
);
68 #endif /* SERVER_ORB_INITIALIZER_H */