Spring Integration

org.springframework.integration.jpa.config.xml
Class JpaOutboundChannelAdapterParser

java.lang.Object
  extended by org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
      extended by org.springframework.integration.config.xml.AbstractChannelAdapterParser
          extended by org.springframework.integration.config.xml.AbstractOutboundChannelAdapterParser
              extended by org.springframework.integration.jpa.config.xml.JpaOutboundChannelAdapterParser
All Implemented Interfaces:
org.springframework.beans.factory.xml.BeanDefinitionParser

public class JpaOutboundChannelAdapterParser
extends AbstractOutboundChannelAdapterParser

The parser for JPA outbound channel adapter

Since:
2.2
Author:
Amol Nayak, Gunnar Hillert

Field Summary
 
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
 
Constructor Summary
JpaOutboundChannelAdapterParser()
           
 
Method Summary
protected  boolean isUsingReplyProducer()
          Override this to signal that this channel adapter is actually using a AbstractReplyProducingMessageHandler while it is not possible for this parser to determine that because, say, a FactoryBean is being used.
protected  org.springframework.beans.factory.support.AbstractBeanDefinition parseConsumer(org.w3c.dom.Element element, org.springframework.beans.factory.xml.ParserContext parserContext)
          Override this method to return the BeanDefinition for the MessageConsumer.
protected  boolean shouldGenerateId()
           
protected  boolean shouldGenerateIdAsFallback()
           
 
Methods inherited from class org.springframework.integration.config.xml.AbstractOutboundChannelAdapterParser
doParse, doParseAndRegisterConsumer, parseAndRegisterConsumer
 
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

JpaOutboundChannelAdapterParser

public JpaOutboundChannelAdapterParser()
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

parseConsumer

protected org.springframework.beans.factory.support.AbstractBeanDefinition parseConsumer(org.w3c.dom.Element element,
                                                                                         org.springframework.beans.factory.xml.ParserContext parserContext)
Description copied from class: AbstractOutboundChannelAdapterParser
Override this method to return the BeanDefinition for the MessageConsumer. It will be registered with a generated name.

Specified by:
parseConsumer in class AbstractOutboundChannelAdapterParser

isUsingReplyProducer

protected boolean isUsingReplyProducer()
Description copied from class: AbstractOutboundChannelAdapterParser
Override this to signal that this channel adapter is actually using a AbstractReplyProducingMessageHandler while it is not possible for this parser to determine that because, say, a FactoryBean is being used.

Overrides:
isUsingReplyProducer in class AbstractOutboundChannelAdapterParser
Returns:
false, unless overridden.

Spring Integration