00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef TAO_SECURITY_ORB_INITIALIZER_H
00015 #define TAO_SECURITY_ORB_INITIALIZER_H
00016
00017 #include "ace/pre.h"
00018
00019 #include "orbsvcs/Security/security_export.h"
00020
00021 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00022 # pragma once
00023 #endif
00024
00025 #include "tao/PI/PI.h"
00026 #include "tao/LocalObject.h"
00027
00028 #include "orbsvcs/Security/Security_PolicyFactory.h"
00029
00030
00031
00032 #if defined(_MSC_VER)
00033 #pragma warning(push)
00034 #pragma warning(disable:4250)
00035 #endif
00036
00037 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00038
00039
00040 namespace TAO
00041 {
00042 namespace Security
00043 {
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055 class TAO_Security_Export ORBInitializer
00056 : public virtual PortableInterceptor::ORBInitializer,
00057 public virtual TAO_Local_RefCounted_Object
00058 {
00059 public:
00060
00061
00062
00063
00064
00065
00066
00067
00068 virtual void pre_init (PortableInterceptor::ORBInitInfo_ptr info);
00069
00070 virtual void post_init (PortableInterceptor::ORBInitInfo_ptr info);
00071
00072
00073 private:
00074
00075
00076 void register_policy_factories (PortableInterceptor::ORBInitInfo_ptr info);
00077
00078 private:
00079
00080
00081
00082 PortableInterceptor::PolicyFactory_var policy_factory_;
00083
00084 };
00085
00086 }
00087 }
00088
00089 TAO_END_VERSIONED_NAMESPACE_DECL
00090
00091 #if defined(_MSC_VER)
00092 #pragma warning(pop)
00093 #endif
00094
00095 #include "ace/post.h"
00096
00097 #endif