Class AddressProviderBuilderProcessor
- java.lang.Object
-
- com.tangosol.coherence.config.xml.processor.AddressProviderBuilderProcessor
-
- All Implemented Interfaces:
ElementProcessor<ParameterizedBuilder<AddressProvider>>
public class AddressProviderBuilderProcessor extends Object implements ElementProcessor<ParameterizedBuilder<AddressProvider>>
AnElementProcessor
that will parse and produce a ParameterizedBuilder<AddressProvider> based on an address-provider configuration element, that of which is defined as such (with support for foreign-namespaces)<!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.3
- Author:
- bo 2013.03.07
-
-
Constructor Summary
Constructors Constructor Description AddressProviderBuilderProcessor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AddressProviderBuilder
newLocalAddressProviderBuilder(XmlElement xmlLocalAddress)
Build a new AddressProviderBuilder for the local-address.AddressProviderBuilder
process(ProcessingContext context, XmlElement xmlElement)
Process anXmlElement
to return a specific type of value.
-
-
-
Method Detail
-
process
public AddressProviderBuilder process(ProcessingContext context, XmlElement xmlElement) throws ConfigurationException
Process anXmlElement
to return a specific type of value.- Specified by:
process
in interfaceElementProcessor<ParameterizedBuilder<AddressProvider>>
- Parameters:
context
- theProcessingContext
in which theXmlElement
is being processedxmlElement
- theXmlElement
to process- Returns:
- a value of type T
- Throws:
ConfigurationException
- when a configuration problem was encountered
-
newLocalAddressProviderBuilder
public static AddressProviderBuilder newLocalAddressProviderBuilder(XmlElement xmlLocalAddress)
Build a new AddressProviderBuilder for the local-address.- Parameters:
xmlLocalAddress
- theXmlElement
to process- Returns:
- the newly constructed AddressProviderBuilder
-
-