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.AAddressProviderFactory
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
Constructors Constructor Description ConfigurableAddressProviderFactory()
Deprecated.Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AddressProvider
createAddressProvider(ClassLoader loader)
Deprecated.Instantiate an AddressProvider configured according to the specified XML.XmlElement
getConfig()
Deprecated.Determine the current configuration of the object.void
setConfig(XmlElement xml)
Deprecated.Specify the configuration for the object.String
toString()
Deprecated.
-
-
-
Method Detail
-
createAddressProvider
public AddressProvider createAddressProvider(ClassLoader loader)
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
public void setConfig(XmlElement xml)
Deprecated.Specify the configuration for the object.- Specified by:
setConfig
in interfaceXmlConfigurable
- Parameters:
xml
- the XML configuration for the object
-
getConfig
public XmlElement getConfig()
Deprecated.Determine the current configuration of the object.- Specified by:
getConfig
in interfaceXmlConfigurable
- Returns:
- the XML configuration or null
-
-