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