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
public class FileOutboundChannelAdapterParser extends AbstractOutboundChannelAdapterParser
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 org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
-
Constructor Summary
Constructors Constructor Description FileOutboundChannelAdapterParser()
-
Method Summary
Modifier and Type Method Description 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 AbstractBeanDefinition
parseConsumer(Element element, ParserContext parserContext)
Override this method to return the BeanDefinition for the MessageConsumer.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, shouldGenerateId, shouldGenerateIdAsFallback, shouldParseNameAsAliases
-
Constructor Details
-
FileOutboundChannelAdapterParser
public FileOutboundChannelAdapterParser()
-
-
Method Details
-
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.
-