3 //=============================================================================
5 * @file EndpointPolicy_ORBInitializer.h
7 * @author Yan Dai <dai_y@ociweb.com>
9 //=============================================================================
12 #ifndef TAO_ENDPOINTPOLICY_ORB_INITIALIZER_H
13 #define TAO_ENDPOINTPOLICY_ORB_INITIALIZER_H
15 #include /**/ "ace/pre.h"
17 #include "tao/EndpointPolicy/EndpointPolicy_Export.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"
26 // This is to remove "inherits via dominance" warnings from MSVC.
27 // MSVC is being a little too paranoid.
30 #pragma warning(disable:4250)
33 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
35 /// EndpointPolicy ORB initializer.
36 class TAO_EndpointPolicy_ORBInitializer
37 : public virtual PortableInterceptor::ORBInitializer
,
38 public virtual ::CORBA::LocalObject
42 * @name PortableInterceptor::ORBInitializer Methods
44 * The following methods are required by the
45 * PortableInterceptor::ORBInitializer interface.
48 virtual void pre_init (PortableInterceptor::ORBInitInfo_ptr info
);
50 virtual void post_init (PortableInterceptor::ORBInitInfo_ptr info
);
54 /// Register Endpoint policy factories.
55 void register_policy_factories (PortableInterceptor::ORBInitInfo_ptr info
);
58 TAO_END_VERSIONED_NAMESPACE_DECL
64 #include /**/ "ace/post.h"
66 #endif /* TAO_ENDPOINTPOLICY_ORB_INITIALIZER_H */