Show / Hide Table of Contents

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>
Inheritance
object
ConfigurableAddressProviderFactory
Implements
IAddressProviderFactory
IXmlConfigurable
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
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.

Overrides
object.ToString()

Implements

IAddressProviderFactory
IXmlConfigurable
In this article
Back to top Copyright © 2000, 2024, Oracle and/or its affiliates.