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 Summary
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected AbstractBeanDefinition
doParse
(Element element, ParserContext parserContext, String channelName) Subclasses must implement this method to parse the adapter element.protected abstract String
getBeanClassName
(Element element) protected void
postProcess
(Element element, ParserContext parserContext, BeanDefinitionBuilder builder) protected boolean
protected boolean
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
-
AbstractXmppInboundChannelAdapterParser
public AbstractXmppInboundChannelAdapterParser()
-
-
Method Details
-
shouldGenerateId
protected boolean shouldGenerateId()- Overrides:
shouldGenerateId
in classAbstractBeanDefinitionParser
-
shouldGenerateIdAsFallback
protected boolean shouldGenerateIdAsFallback()- Overrides:
shouldGenerateIdAsFallback
in classAbstractBeanDefinitionParser
-
getBeanClassName
-
doParse
protected AbstractBeanDefinition doParse(Element element, ParserContext parserContext, String channelName) Description copied from class:AbstractChannelAdapterParser
Subclasses must implement this method to parse the adapter element. The name of the MessageChannel bean is provided.- Specified by:
doParse
in 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)
-