Class LocalAddressProcessor
java.lang.Object
com.tangosol.coherence.config.xml.processor.LocalAddressProcessor
- All Implemented Interfaces:
ElementProcessor<InetSocketAddress>
@XmlSimpleName("local-address")
public class LocalAddressProcessor
extends Object
implements ElementProcessor<InetSocketAddress>
An
ElementProcessor that parses a <local-address> to produce
an InetSocketAddress.- Since:
- Coherence 12.1.3
- Author:
- bo 2013.07.16
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprocess(ProcessingContext context, XmlElement xmlElement) Process anXmlElementto return a specific type of value.
-
Constructor Details
-
LocalAddressProcessor
public LocalAddressProcessor()
-
-
Method Details
-
process
public InetSocketAddress process(ProcessingContext context, XmlElement xmlElement) throws ConfigurationException Process anXmlElementto return a specific type of value.- Specified by:
processin interfaceElementProcessor<InetSocketAddress>- Parameters:
context- theProcessingContextin which theXmlElementis being processedxmlElement- theXmlElementto process- Returns:
- a value of type T
- Throws:
ConfigurationException- when a configuration problem was encountered
-