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
public abstract class AbstractXmppInboundChannelAdapterParser extends AbstractChannelAdapterParser
Base class for XMPP inbound parsers
- Since:
- 2.0.1
- Author:
- Oleg Zhurakousky, Gary Russell
-
Field Summary
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE -
Constructor Summary
Constructors Constructor Description AbstractXmppInboundChannelAdapterParser() -
Method Summary
Modifier and Type Method Description protected 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 booleanshouldGenerateId()protected booleanshouldGenerateIdAsFallback()Methods inherited from class org.springframework.integration.config.xml.AbstractChannelAdapterParser
parseInternal, resolveIdMethods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, registerBeanDefinition, shouldFireEvents, shouldParseNameAsAliases
-
Constructor Details
-
AbstractXmppInboundChannelAdapterParser
public AbstractXmppInboundChannelAdapterParser()
-
-
Method Details
-
shouldGenerateId
protected boolean shouldGenerateId()- Overrides:
shouldGenerateIdin classAbstractBeanDefinitionParser
-
shouldGenerateIdAsFallback
protected boolean shouldGenerateIdAsFallback()- Overrides:
shouldGenerateIdAsFallbackin classAbstractBeanDefinitionParser
-
getBeanClassName
-
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.
-
postProcess
protected void postProcess(Element element, ParserContext parserContext, BeanDefinitionBuilder builder)
-