Class PublishSubscribeChannelParser

java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.integration.config.xml.AbstractChannelParser
org.springframework.integration.config.xml.PublishSubscribeChannelParser
All Implemented Interfaces:
org.springframework.beans.factory.xml.BeanDefinitionParser

public class PublishSubscribeChannelParser
extends AbstractChannelParser
Parser for the <publish-subscribe-channel> element.
  • Field Summary

    Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser

    ID_ATTRIBUTE, NAME_ATTRIBUTE
  • Constructor Summary

    Constructors 
    Constructor Description
    PublishSubscribeChannelParser()  
  • Method Summary

    Modifier and Type Method Description
    protected org.springframework.beans.factory.support.BeanDefinitionBuilder buildBeanDefinition​(org.w3c.dom.Element element, org.springframework.beans.factory.xml.ParserContext parserContext)
    Subclasses must implement this method to create the bean definition.

    Methods inherited from class org.springframework.integration.config.xml.AbstractChannelParser

    parseInternal, registerBeanDefinition

    Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser

    parse, postProcessComponentDefinition, resolveId, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback, shouldParseNameAsAliases

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • buildBeanDefinition

      protected org.springframework.beans.factory.support.BeanDefinitionBuilder buildBeanDefinition​(org.w3c.dom.Element element, org.springframework.beans.factory.xml.ParserContext parserContext)
      Description copied from class: AbstractChannelParser
      Subclasses must implement this method to create the bean definition. The class must be defined, and any implementation-specific constructor arguments or properties should be configured. This base class will configure the interceptors including the 'datatype' interceptor if the 'datatype' attribute is defined on the channel element.
      Specified by:
      buildBeanDefinition in class AbstractChannelParser
      Parameters:
      element - The element.
      parserContext - The parser context.
      Returns:
      The bean definition builder.