Class UdpInboundChannelAdapterParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.integration.config.xml.AbstractChannelAdapterParser
org.springframework.integration.ip.config.UdpInboundChannelAdapterParser
- All Implemented Interfaces:
BeanDefinitionParser
- Direct Known Subclasses:
SyslogInboundChannelAdapterParser
Channel Adapter that receives UDP datagram packets and maps them to Messages.
- Since:
- 2.0
- Author:
- Gary Russell, Artem Bilan
-
Field Summary
Fields inherited from class AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected AbstractBeanDefinitiondoParse(Element element, ParserContext parserContext, String channelName) Subclasses must implement this method to parse the adapter element.Methods inherited from class AbstractChannelAdapterParser
parseInternal, resolveIdMethods inherited from class AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, registerBeanDefinition, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback, shouldParseNameAsAliases
-
Constructor Details
-
UdpInboundChannelAdapterParser
public UdpInboundChannelAdapterParser()
-
-
Method Details
-
doParse
protected AbstractBeanDefinition doParse(Element element, ParserContext parserContext, String channelName) Description copied from class:AbstractChannelAdapterParserSubclasses must implement this method to parse the adapter element. The name of the MessageChannel bean is provided.- Specified by:
doParsein classAbstractChannelAdapterParser- Parameters:
element- The element.parserContext- The parser context.channelName- The channel name.- Returns:
- The bean definition.
-