Class ConfigurableAddressProviderFactory
A IAddressProviderFactory implementation that creates instances of a AddressProvider class configured using an XmlElement of the following structure:
<socket-address>
<address>...</address>
<port>...</port>
</socket-address>
Inherited Members
Namespace: Tangosol.Net
Assembly: Coherence.dll
Syntax
public class ConfigurableAddressProviderFactory : IAddressProviderFactory, IXmlConfigurable
Properties
Config
IXmlElement holding configuration information.
Declaration
public virtual IXmlElement Config { get; set; }
Property Value
| Type | Description |
|---|---|
| IXmlElement | IXmlElement holding configuration information. |
Methods
CreateAddressProvider()
Instantiate an IAddressProvider configured according to the specified XML. The passed XML has to conform to the following format:
<!ELEMENT ... (socket-address+ | address-provider)>
<!ELEMENT address-provider
(class-name | (class-factory-name, method-name), init-params?>
<!ELEMENT socket-address (address, port)>
Declaration
public IAddressProvider CreateAddressProvider()
Returns
| Type | Description |
|---|---|
| IAddressProvider | An instance of the corresponding IAddressProvider implementation. |
ToString()
Provide a human-readable representation of this object.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | A string whose contents represent the value of this object. |