Oracle® Coherence .NET API Reference Release 3.7.1
E22844-03

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?)>
            

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

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