Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
DefaultConfigurableCacheFactory..::.ResolveScheme Method (IXmlElement, IXmlElement, DefaultConfigurableCacheFactory..::.CacheInfo, Boolean, Boolean, Boolean)
DefaultConfigurableCacheFactory Class See Also

Oracle® Coherence .NET API Reference Release 3.6.1
E18812-01
Resolve the specified "XYZ-scheme" by retrieving the base element refered to by the "scheme-ref" element, resolving it recursively, and combining it with the specified overrides and cache specific attributes.

Namespace: Tangosol.Net
Assembly: Coherence (in Coherence.dll) Version: 3.6.1.0 (3.6.1.0)

# Syntax

C#
    protected static IXmlElement ResolveScheme(
    	IXmlElement xmlConfig,
    	IXmlElement xmlScheme,
    	DefaultConfigurableCacheFactory..::.CacheInfo info,
    	bool isChild,
    	bool isRequired,
    	bool apply
    )

#### Parameters

xmlConfig
  Type: Tangosol.Run.Xml..::.IXmlElement
  The cache configuration xml.

xmlScheme
  Type: Tangosol.Run.Xml..::.IXmlElement
  A scheme element to resolve.

info
  Type: Tangosol.Net..::.DefaultConfigurableCacheFactory..::.CacheInfo
  The cache info (optional).

isChild
  Type: System..::.Boolean
  If true, the actual cache scheme is the only "xyz-scheme" child of the specified xmlScheme element; otherwise it's the xmlScheme element itself.

isRequired
  Type: System..::.Boolean
  If true, the child scheme must be present; false otherwise.

apply
  Type: System..::.Boolean
  If true, apply the specified overrides and cache-specific attributes to the base scheme element; otherwise return a reference to the base scheme element.

#### Return Value

A "scheme" element associated with a given cache name; null if the child is missing and is not required.

# See Also

DefaultConfigurableCacheFactory Class
ResolveScheme Overload
Tangosol.Net Namespace