Class FileOutboundChannelAdapterParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.integration.config.xml.AbstractChannelAdapterParser
org.springframework.integration.config.xml.AbstractOutboundChannelAdapterParser
org.springframework.integration.file.config.FileOutboundChannelAdapterParser
- All Implemented Interfaces:
BeanDefinitionParser
Parser for the <outbound-channel-adapter/> element of the 'file'
namespace.
- Author:
- Mark Fisher, Iwein Fuld, Oleg Zhurakousky, Artem Bilan
-
Field Summary
Fields inherited from class AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier 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.Methods inherited from class AbstractOutboundChannelAdapterParser
doParse, doParseAndRegisterConsumerMethods inherited from class AbstractChannelAdapterParser
parseInternal, resolveIdMethods inherited from class AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, registerBeanDefinition, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback, shouldParseNameAsAliases
-
Constructor Details
-
FileOutboundChannelAdapterParser
public FileOutboundChannelAdapterParser()
-
-
Method Details
-
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.
-