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 
00085 
00086         virtual Map::View getSerializerMap() const = 0;
00087 
00088 
00089 
00090 
00091 
00092 
00093 
00094 
00095 
00096         virtual Map::View getAddressProviderMap() const = 0;
00097 
00098 
00099 
00100 
00101 
00102 
00103 
00104         virtual IdentityAsserter::View getIdentityAsserter() const = 0;
00105 
00106 
00107 
00108 
00109 
00110 
00111 
00112         virtual IdentityTransformer::View getIdentityTransformer() const = 0;
00113 
00114 
00115 
00116 
00117 
00118 
00119         virtual bool isSubjectScopingEnabled() const = 0;
00120 
00121 
00122 
00123 
00124 
00125 
00126         virtual int32_t getLogLevel() const = 0;
00127 
00128 
00129 
00130 
00131 
00132 
00133 
00134 
00135         virtual int32_t getLogCharacterLimit() const = 0;
00136 
00137 
00138 
00139 
00140 
00141 
00142         virtual String::View getLogMessageFormat() const = 0;
00143 
00144 
00145 
00146 
00147 
00148 
00149         virtual String::View getLogDestination() const = 0;
00150 
00151 
00152 
00153 
00154 
00155 
00156 
00157 
00158         virtual int32_t getDiscoveryTimeToLive() const = 0;
00159     };
00160 
00161 COH_CLOSE_NAMESPACE2
00162 
00163 #endif // COH_OPERATIONAL_CONTEXT_HPP