org.springframework.integration.jpa.config.xml
Class JpaOutboundChannelAdapterParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.integration.config.xml.AbstractChannelAdapterParser
org.springframework.integration.config.xml.AbstractOutboundChannelAdapterParser
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
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser |
ID_ATTRIBUTE, NAME_ATTRIBUTE |
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.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 |
JpaOutboundChannelAdapterParser
public JpaOutboundChannelAdapterParser()
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.