Class AbstractXmppInboundChannelAdapterParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.integration.config.xml.AbstractChannelAdapterParser
org.springframework.integration.xmpp.config.AbstractXmppInboundChannelAdapterParser
- All Implemented Interfaces:
- BeanDefinitionParser
- Direct Known Subclasses:
- ChatMessageInboundChannelAdapterParser,- PresenceInboundChannelAdapterParser
Base class for XMPP inbound parsers
- Since:
- 2.0.1
- Author:
- Oleg Zhurakousky, Gary Russell
- 
Field SummaryFields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParserID_ATTRIBUTE, NAME_ATTRIBUTE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected AbstractBeanDefinitiondoParse(Element element, ParserContext parserContext, String channelName) Subclasses must implement this method to parse the adapter element.protected abstract StringgetBeanClassName(Element element) protected voidpostProcess(Element element, ParserContext parserContext, BeanDefinitionBuilder builder) protected booleanprotected booleanMethods inherited from class org.springframework.integration.config.xml.AbstractChannelAdapterParserparseInternal, resolveIdMethods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParserparse, postProcessComponentDefinition, registerBeanDefinition, shouldFireEvents, shouldParseNameAsAliases
- 
Constructor Details- 
AbstractXmppInboundChannelAdapterParserpublic AbstractXmppInboundChannelAdapterParser()
 
- 
- 
Method Details- 
shouldGenerateIdprotected boolean shouldGenerateId()- Overrides:
- shouldGenerateIdin class- AbstractBeanDefinitionParser
 
- 
shouldGenerateIdAsFallbackprotected boolean shouldGenerateIdAsFallback()- Overrides:
- shouldGenerateIdAsFallbackin class- AbstractBeanDefinitionParser
 
- 
getBeanClassName
- 
doParseprotected 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 class- AbstractChannelAdapterParser
- Parameters:
- element- The element.
- parserContext- The parser context.
- channelName- The channel name.
- Returns:
- The bean definition.
 
- 
postProcessprotected void postProcess(Element element, ParserContext parserContext, BeanDefinitionBuilder builder) 
 
-