Class DefaultOperationalContext
The DefaultOperationalContext provides an IOperationalContext with information optained from XML in coherence.xsd format and default values.
Implements
Inherited Members
Namespace: Tangosol.Net
Assembly: Coherence.dll
Syntax
public class DefaultOperationalContext : IOperationalContext
Constructors
DefaultOperationalContext()
Construct a new DefaultOperationalContext.
Declaration
public DefaultOperationalContext()
DefaultOperationalContext(string)
Construct a new DefaultOperationalContext.
Declaration
public DefaultOperationalContext(string config)
Parameters
Type | Name | Description |
---|---|---|
string | config | Path to an XML resource corresponding to coherence.xsd. |
DefaultOperationalContext(IResource)
Construct a new DefaultOperationalContext.
Declaration
public DefaultOperationalContext(IResource config)
Parameters
Type | Name | Description |
---|---|---|
IResource | config | An XML resource corresponding to coherence.xsd. |
DefaultOperationalContext(IXmlElement)
Construct a new DefaultOperationalContext.
Declaration
public DefaultOperationalContext(IXmlElement config)
Parameters
Type | Name | Description |
---|---|---|
IXmlElement | config | An XML element corresponding to coherence.xsd. |
Fields
DEFAULT_EDITION_NAME
The default edition name.
Declaration
public const string DEFAULT_EDITION_NAME = "RTC"
Field Value
Type | Description |
---|---|
string |
Properties
AddressProviderMap
A dictionary of address provider factories.
Declaration
public IDictionary AddressProviderMap { get; }
Property Value
Type | Description |
---|---|
IDictionary | A dictionary of IAddressProviderFactory objects keyed by name. |
Config
The current configuration of the object.
Declaration
public virtual IXmlElement Config { get; }
Property Value
Type | Description |
---|---|
IXmlElement | The XML configuration or |
DefaultOperationalConfig
The default XML configuration used when one isn't explicitly passed in the constructor for this class.
Declaration
public static IXmlDocument DefaultOperationalConfig { get; set; }
Property Value
Type | Description |
---|---|
IXmlDocument | The default XML configuration. |
DefaultOperationalConfigResource
The IResource for the default XML configuration used when one isn't explicitly passed in the constructor for this class.
Declaration
public static IResource DefaultOperationalConfigResource { get; set; }
Property Value
Type | Description |
---|---|
IResource | The IResource for the default XML configuration. |
DiscoveryTimeToLive
The TTL for multicast based discovery.
Declaration
public virtual int DiscoveryTimeToLive { get; protected set; }
Property Value
Type | Description |
---|---|
int |
Edition
The product edition.
Declaration
public virtual int Edition { get; }
Property Value
Type | Description |
---|---|
int | The product edition. |
EditionName
The product edition in a formatted string.
Declaration
public virtual string EditionName { get; }
Property Value
Type | Description |
---|---|
string | The product edition in a formatted string. |
FilterMap
A dictionary of network filter factories.
Declaration
public virtual IDictionary FilterMap { get; }
Property Value
Type | Description |
---|---|
IDictionary | A dictionary of IWrapperStreamFactory objects keyed by filter name. |
IdentityAsserter
An IIdentityAsserter that can be used to establish a user's identity.
Declaration
public virtual IIdentityAsserter IdentityAsserter { get; }
Property Value
Type | Description |
---|---|
IIdentityAsserter | The IIdentityAsserter. |
IdentityTransformer
An IIdentityTransformer that can be used to transform an IPrincipal into an identity assertion.
Declaration
public virtual IIdentityTransformer IdentityTransformer { get; }
Property Value
Type | Description |
---|---|
IIdentityTransformer | The IIdentityTransformer. |
IsPrincipalScopingEnabled
Indicates if principal scoping is enabled.
Declaration
public virtual bool IsPrincipalScopingEnabled { get; }
Property Value
Type | Description |
---|---|
bool | true if principal scoping is enabled. |
LocalMember
An IMember object representing this process.
Declaration
public virtual IMember LocalMember { get; }
Property Value
Type | Description |
---|---|
IMember | The local IMember. |
LogCharacterLimit
The maximum number of characters for a logger daemon to queue before truncating.
Declaration
public virtual int LogCharacterLimit { get; }
Property Value
Type | Description |
---|---|
int | The maximum number of characters for a logger daemon to queue before truncating. |
LogDestination
The destination for log messages.
Declaration
public virtual string LogDestination { get; }
Property Value
Type | Description |
---|---|
string | The destination for log messages. |
LogLevel
The logging severity level.
Declaration
public virtual int LogLevel { get; }
Property Value
Type | Description |
---|---|
int | The loggng severity level. |
LogMessageFormat
The log message format.
Declaration
public virtual string LogMessageFormat { get; }
Property Value
Type | Description |
---|---|
string | The log message format. |
LogName
The name of the logger.
Declaration
public virtual string LogName { get; }
Property Value
Type | Description |
---|---|
string | The name of the logger. |
SerializerMap
A dictionary of serializer factories.
Declaration
public IDictionary SerializerMap { get; }
Property Value
Type | Description |
---|---|
IDictionary | A dictionary of ISerializerFactory objects keyed by serializer name. |
Methods
LoadDefaultOperationalConfig()
Load and return the default XML operational configuration.
Declaration
protected static IXmlDocument LoadDefaultOperationalConfig()
Returns
Type | Description |
---|---|
IXmlDocument | The default XML operational configuration. |