Class JmsInboundChannelAdapterParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.integration.config.xml.AbstractChannelAdapterParser
org.springframework.integration.config.xml.AbstractPollingInboundChannelAdapterParser
org.springframework.integration.jms.config.JmsInboundChannelAdapterParser
- All Implemented Interfaces:
BeanDefinitionParser
public class JmsInboundChannelAdapterParser extends AbstractPollingInboundChannelAdapterParser
Parser for the <inbound-channel-adapter/> element of the 'jms' namespace.
- Author:
- Mark Fisher, Artem Bilan
-
Field Summary
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
-
Constructor Summary
Constructors Constructor Description JmsInboundChannelAdapterParser()
-
Method Summary
Modifier and Type Method Description protected BeanMetadataElement
parseSource(Element element, ParserContext parserContext)
Subclasses must implement this method to parse the PollableSource instance which the created Channel Adapter will poll.protected boolean
shouldGenerateId()
protected boolean
shouldGenerateIdAsFallback()
Methods inherited from class org.springframework.integration.config.xml.AbstractPollingInboundChannelAdapterParser
doParse
Methods inherited from class org.springframework.integration.config.xml.AbstractChannelAdapterParser
parseInternal, resolveId
Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, registerBeanDefinition, shouldFireEvents, shouldParseNameAsAliases
-
Constructor Details
-
JmsInboundChannelAdapterParser
public JmsInboundChannelAdapterParser()
-
-
Method Details
-
shouldGenerateId
protected boolean shouldGenerateId()- Overrides:
shouldGenerateId
in classAbstractBeanDefinitionParser
-
shouldGenerateIdAsFallback
protected boolean shouldGenerateIdAsFallback()- Overrides:
shouldGenerateIdAsFallback
in classAbstractBeanDefinitionParser
-
parseSource
Description copied from class:AbstractPollingInboundChannelAdapterParser
Subclasses must implement this method to parse the PollableSource instance which the created Channel Adapter will poll.- Specified by:
parseSource
in classAbstractPollingInboundChannelAdapterParser
- Parameters:
element
- The element.parserContext
- The parser context.- Returns:
- The bean metadata element.
-