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:
BeanDefinitionParser
The parser for JPA outbound channel adapter.
- Since:
- 2.2
- Author:
- Amol Nayak, Gunnar Hillert, Artem Bilan
-
Field Summary
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
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 AbstractBeanDefinition
parseConsumer
(Element element, ParserContext parserContext) Override this method to return the BeanDefinition for the MessageConsumer.protected boolean
protected boolean
Methods inherited from class org.springframework.integration.config.xml.AbstractOutboundChannelAdapterParser
doParse, doParseAndRegisterConsumer
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, shouldParseNameAsAliases
-
Constructor Details
-
JpaOutboundChannelAdapterParser
public JpaOutboundChannelAdapterParser()
-
-
Method Details
-
shouldGenerateId
protected boolean shouldGenerateId()- Overrides:
shouldGenerateId
in classAbstractBeanDefinitionParser
-
shouldGenerateIdAsFallback
protected boolean shouldGenerateIdAsFallback()- Overrides:
shouldGenerateIdAsFallback
in classAbstractBeanDefinitionParser
-
parseConsumer
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 classAbstractOutboundChannelAdapterParser
- Parameters:
element
- The element.parserContext
- The parser context.- Returns:
- The bean definition.
-
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 classAbstractOutboundChannelAdapterParser
- Returns:
- false, unless overridden.
-