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 SummaryFields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParserID_ATTRIBUTE, NAME_ATTRIBUTE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleanOverride 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 booleanprotected booleanMethods inherited from class org.springframework.integration.config.xml.AbstractOutboundChannelAdapterParserdoParse, doParseAndRegisterConsumerMethods inherited from class org.springframework.integration.config.xml.AbstractChannelAdapterParserparseInternal, resolveIdMethods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParserparse, postProcessComponentDefinition, registerBeanDefinition, shouldFireEvents, shouldParseNameAsAliases
- 
Constructor Details- 
JpaOutboundChannelAdapterParserpublic JpaOutboundChannelAdapterParser()
 
- 
- 
Method Details- 
shouldGenerateIdprotected boolean shouldGenerateId()- Overrides:
- shouldGenerateIdin class- AbstractBeanDefinitionParser
 
- 
shouldGenerateIdAsFallbackprotected boolean shouldGenerateIdAsFallback()- Overrides:
- shouldGenerateIdAsFallbackin class- AbstractBeanDefinitionParser
 
- 
parseConsumerDescription copied from class:AbstractOutboundChannelAdapterParserOverride this method to return the BeanDefinition for the MessageConsumer. It will be registered with a generated name.- Specified by:
- parseConsumerin class- AbstractOutboundChannelAdapterParser
- Parameters:
- element- The element.
- parserContext- The parser context.
- Returns:
- The bean definition.
 
- 
isUsingReplyProducerprotected 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 class- AbstractOutboundChannelAdapterParser
- Returns:
- false, unless overridden.
 
 
-