org.springframework.integration.xmpp.config
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:
- org.springframework.beans.factory.xml.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
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser |
ID_ATTRIBUTE, NAME_ATTRIBUTE |
Method Summary |
protected org.springframework.beans.factory.support.AbstractBeanDefinition |
doParse(org.w3c.dom.Element element,
org.springframework.beans.factory.xml.ParserContext parserContext,
java.lang.String channelName)
Subclasses must implement this method to parse the adapter element. |
protected abstract java.lang.String |
getBeanClassName(org.w3c.dom.Element element)
|
protected void |
postProcess(org.w3c.dom.Element element,
org.springframework.beans.factory.xml.ParserContext parserContext,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
|
protected boolean |
shouldGenerateId()
|
protected boolean |
shouldGenerateIdAsFallback()
|
Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser |
parse, postProcessComponentDefinition, registerBeanDefinition, shouldFireEvents |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractXmppInboundChannelAdapterParser
public AbstractXmppInboundChannelAdapterParser()
shouldGenerateId
protected boolean shouldGenerateId()
- Overrides:
shouldGenerateId
in class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
shouldGenerateIdAsFallback
protected boolean shouldGenerateIdAsFallback()
- Overrides:
shouldGenerateIdAsFallback
in class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
getBeanClassName
protected abstract java.lang.String getBeanClassName(org.w3c.dom.Element element)
doParse
protected org.springframework.beans.factory.support.AbstractBeanDefinition doParse(org.w3c.dom.Element element,
org.springframework.beans.factory.xml.ParserContext parserContext,
java.lang.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 class AbstractChannelAdapterParser
postProcess
protected void postProcess(org.w3c.dom.Element element,
org.springframework.beans.factory.xml.ParserContext parserContext,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder)