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 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.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, 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.
-