00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #ifndef TAO_PI_ORB_INITIALIZER_H
00014 #define TAO_PI_ORB_INITIALIZER_H
00015
00016 #include "ace/pre.h"
00017
00018 #include "tao/orbconf.h"
00019
00020 #if TAO_HAS_INTERCEPTORS == 1
00021
00022 #include "tao/PI/pi_export.h"
00023
00024 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00025 # pragma once
00026 #endif
00027
00028 #include "tao/LocalObject.h"
00029 #include "tao/PI/ORBInitializerC.h"
00030 #include "tao/PI/PolicyFactoryC.h"
00031
00032 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00033
00034
00035 class TAO_PI_PolicyFactory;
00036
00037
00038 class TAO_PI_Export TAO_PI_ORBInitializer
00039 : public virtual PortableInterceptor::ORBInitializer,
00040 public virtual TAO_Local_RefCounted_Object
00041 {
00042 public:
00043
00044
00045
00046
00047
00048
00049
00050
00051 void pre_init (PortableInterceptor::ORBInitInfo_ptr info);
00052
00053 void post_init (PortableInterceptor::ORBInitInfo_ptr info);
00054
00055
00056
00057 private:
00058
00059
00060 void register_policy_factories (PortableInterceptor::ORBInitInfo_ptr info);
00061
00062
00063
00064
00065
00066
00067 PortableInterceptor::PolicyFactory_var policy_factory_;
00068 };
00069
00070 TAO_END_VERSIONED_NAMESPACE_DECL
00071
00072 #endif
00073
00074 #include "ace/post.h"
00075
00076 #endif