00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef COH_OPERATIONAL_CONTEXT_HPP
00017 #define COH_OPERATIONAL_CONTEXT_HPP
00018
00019 #include "coherence/lang.ns"
00020
00021 #include "coherence/net/Member.hpp"
00022 #include "coherence/run/xml/XmlElement.hpp"
00023 #include "coherence/security/IdentityAsserter.hpp"
00024 #include "coherence/security/IdentityTransformer.hpp"
00025 #include "coherence/util/Map.hpp"
00026
00027 COH_OPEN_NAMESPACE2(coherence,net)
00028
00029 using coherence::run::xml::XmlElement;
00030 using coherence::security::IdentityAsserter;
00031 using coherence::security::IdentityTransformer;
00032 using coherence::util::Map;
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043 class COH_EXPORT OperationalContext
00044 : public interface_spec<OperationalContext>
00045 {
00046
00047
00048 public:
00049
00050
00051
00052
00053
00054 virtual int32_t getEdition() const = 0;
00055
00056
00057
00058
00059
00060
00061 virtual String::View getEditionName() const = 0;
00062
00063
00064
00065
00066
00067
00068 virtual Member::View getLocalMember() const = 0;
00069
00070
00071
00072
00073
00074
00075
00076 virtual Map::View getFilterMap() const = 0;
00077
00078
00079
00080
00081
00082
00083
00084 virtual IdentityAsserter::View getIdentityAsserter() const = 0;
00085
00086
00087
00088
00089
00090
00091
00092 virtual IdentityTransformer::View getIdentityTransformer() const = 0;
00093
00094
00095
00096
00097
00098
00099 virtual bool isSubjectScopingEnabled() const = 0;
00100
00101
00102
00103
00104
00105
00106 virtual int32_t getLogLevel() const = 0;
00107
00108
00109
00110
00111
00112
00113
00114
00115 virtual int32_t getLogCharacterLimit() const = 0;
00116
00117
00118
00119
00120
00121
00122 virtual String::View getLogMessageFormat() const = 0;
00123
00124
00125
00126
00127
00128
00129 virtual String::View getLogDestination() const = 0;
00130 };
00131
00132 COH_CLOSE_NAMESPACE2
00133
00134 #endif // COH_OPERATIONAL_CONTEXT_HPP