Package com.tangosol.net
Class ConfigurableAddressProviderFactory
java.lang.Object
com.tangosol.net.ConfigurableAddressProviderFactory
- All Implemented Interfaces:
AddressProviderFactory
,XmlConfigurable
@Deprecated
public class ConfigurableAddressProviderFactory
extends Object
implements AddressProviderFactory, XmlConfigurable
Deprecated.
A
AddressProviderFactory
implementation that creates instances of an
address provider class configured using an XmlElement of the following structure:
<!ELEMENT ... (socket-address+ | address-provider)> <!ELEMENT address-provider (class-name | (class-factory-name, method-name), init-params?> <!ELEMENT socket-address (address, port)>
- Since:
- Coherence 12.1.2
- Author:
- wl 2012.04.04
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateAddressProvider
(ClassLoader loader) Deprecated.Instantiate an AddressProvider configured according to the specified XML.Deprecated.Determine the current configuration of the object.void
setConfig
(XmlElement xml) Deprecated.Specify the configuration for the object.toString()
Deprecated.
-
Constructor Details
-
ConfigurableAddressProviderFactory
public ConfigurableAddressProviderFactory()Deprecated.Default constructor.
-
-
Method Details
-
createAddressProvider
Deprecated.Instantiate an AddressProvider 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)>
Note: "the "remote-addresses" element declaration for the coherence-cache-config.xsd in the Coherence library"- Specified by:
createAddressProvider
in interfaceAddressProviderFactory
- Parameters:
loader
- (optional) the ClassLoader that should be used to load necessary classes- Returns:
- an instance of the corresponding AddressProvider implementation
-
setConfig
Deprecated.Specify the configuration for the object.- Specified by:
setConfig
in interfaceXmlConfigurable
- Parameters:
xml
- the XML configuration for the object
-
getConfig
Deprecated.Determine the current configuration of the object.- Specified by:
getConfig
in interfaceXmlConfigurable
- Returns:
- the XML configuration or null
-
toString
Deprecated.
-