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
public class JpaOutboundChannelAdapterParser extends AbstractOutboundChannelAdapterParser
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
Constructors Constructor Description JpaOutboundChannelAdapterParser() -
Method Summary
Modifier and Type Method Description protected booleanisUsingReplyProducer()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 AbstractBeanDefinitionparseConsumer(Element element, ParserContext parserContext)Override this method to return the BeanDefinition for the MessageConsumer.protected booleanshouldGenerateId()protected booleanshouldGenerateIdAsFallback()Methods inherited from class org.springframework.integration.config.xml.AbstractOutboundChannelAdapterParser
doParse, doParseAndRegisterConsumerMethods inherited from class org.springframework.integration.config.xml.AbstractChannelAdapterParser
parseInternal, resolveIdMethods 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:
shouldGenerateIdin classAbstractBeanDefinitionParser
-
shouldGenerateIdAsFallback
protected boolean shouldGenerateIdAsFallback()- Overrides:
shouldGenerateIdAsFallbackin classAbstractBeanDefinitionParser
-
parseConsumer
Description copied from class:AbstractOutboundChannelAdapterParserOverride this method to return the BeanDefinition for the MessageConsumer. It will be registered with a generated name.- Specified by:
parseConsumerin classAbstractOutboundChannelAdapterParser- Parameters:
element- The element.parserContext- The parser context.- Returns:
- The bean definition.
-
isUsingReplyProducer
protected boolean isUsingReplyProducer()Description copied from class:AbstractOutboundChannelAdapterParserOverride 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:
isUsingReplyProducerin classAbstractOutboundChannelAdapterParser- Returns:
- false, unless overridden.
-