Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
DefaultConfigurableCacheFactory..::.InstantiateAny Method
DefaultConfigurableCacheFactory Class See Also

Oracle® Coherence .NET API Reference Release 3.6.1
E18812-01
Create an object using "class-scheme" element.

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

# Syntax

C#
    public virtual Object InstantiateAny(
    	DefaultConfigurableCacheFactory..::.CacheInfo info,
    	IXmlElement xmlClass
    )

#### Parameters

info
  Type: Tangosol.Net..::.DefaultConfigurableCacheFactory..::.CacheInfo
  The cache info.

xmlClass
  Type: Tangosol.Run.Xml..::.IXmlElement
  The "class-scheme" element.

#### Return Value

A newly instantiated object.

# Remarks

If the value of any "param-value" element contains the literal "{cache-name}", replace it with the actual cache name.

Finally, if the value of "param-type" is "{scheme-ref}" then the "param-value" should be a name of the scheme that will be used in place of the value.

# See Also

DefaultConfigurableCacheFactory Class
Tangosol.Net Namespace