Spring Integration

org.springframework.integration.xmpp.config
Class AbstractXmppInboundChannelAdapterParser

java.lang.Object
  extended by org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
      extended by org.springframework.integration.config.xml.AbstractChannelAdapterParser
          extended by 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

Field Summary
 
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
 
Constructor Summary
AbstractXmppInboundChannelAdapterParser()
           
 
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.integration.config.xml.AbstractChannelAdapterParser
parseInternal, resolveId
 
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
 

Constructor Detail

AbstractXmppInboundChannelAdapterParser

public AbstractXmppInboundChannelAdapterParser()
Method Detail

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)

Spring Integration