Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
Create an instance of the class configured using an IXmlElement of the following structure:
            <!ELEMENT ... (class-name | (class-factory-name, method-name),
            init-params?>
            <!ELEMENT init-params (init-param*)>
            <!ELEMENT init-param ((param-name | param-type), param-value,
            description?)>
            
As of Coherence 12.1.2 the supplied element may also be of the following format:
            <!ELEMENT instance>
            
where the "instance" format is the same as above.

Namespace: Tangosol.Run.Xml
Assembly: Coherence (in Coherence.dll) Version: 12.2.1.4014 (12.2.1.4014)

Syntax

C#
public static Object CreateInstance(
	IXmlElement xmlClass,
	XmlHelper..::..IParameterResolver resolver
)

Parameters

xmlClass
Type: Tangosol.Run.Xml..::..IXmlElement
The XML element that contains the instantiation info.
resolver
Type: Tangosol.Run.Xml..::..XmlHelper..::..IParameterResolver
An XmlHelper..::..IParameterResolver to resolve "{macro}" values (optional).

Return Value

An object intantiated or obtained based on the class configuration.

See Also