Class AbstractRemoteFileStreamingInboundChannelAdapterParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.integration.config.xml.AbstractChannelAdapterParser
org.springframework.integration.config.xml.AbstractPollingInboundChannelAdapterParser
org.springframework.integration.file.config.AbstractRemoteFileStreamingInboundChannelAdapterParser
- All Implemented Interfaces:
BeanDefinitionParser
- Direct Known Subclasses:
FtpStreamingInboundChannelAdapterParser, SftpStreamingInboundChannelAdapterParser, SmbStreamingInboundChannelAdapterParser
public abstract class AbstractRemoteFileStreamingInboundChannelAdapterParser
extends AbstractPollingInboundChannelAdapterParser
Abstract base class for parsing remote file streaming inbound channel adapters.
- Since:
- 4.3
- Author:
- Gary Russell, Artem Bilan
-
Field Summary
Fields inherited from class AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract Class<? extends MessageSource<?>> protected abstract Class<? extends AbstractPersistentAcceptOnceFileListFilter<?>> protected abstract Class<? extends FileListFilter<?>> protected abstract Class<? extends FileListFilter<?>> protected abstract Class<? extends RemoteFileOperations<?>> protected final BeanMetadataElementparseSource(Element element, ParserContext parserContext) Subclasses must implement this method to parse the PollableSource instance which the created Channel Adapter will poll.Methods inherited from class AbstractPollingInboundChannelAdapterParser
doParseMethods inherited from class AbstractChannelAdapterParser
parseInternal, resolveIdMethods inherited from class AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, registerBeanDefinition, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback, shouldParseNameAsAliases
-
Constructor Details
-
AbstractRemoteFileStreamingInboundChannelAdapterParser
public AbstractRemoteFileStreamingInboundChannelAdapterParser()
-
-
Method Details
-
parseSource
Description copied from class:AbstractPollingInboundChannelAdapterParserSubclasses must implement this method to parse the PollableSource instance which the created Channel Adapter will poll.- Specified by:
parseSourcein classAbstractPollingInboundChannelAdapterParser- Parameters:
element- The element.parserContext- The parser context.- Returns:
- The bean metadata element.
-
getTemplateClass
-
getMessageSourceClass
-
getSimplePatternFileListFilterClass
-
getRegexPatternFileListFilterClass
-
getPersistentAcceptOnceFileListFilterClass
protected abstract Class<? extends AbstractPersistentAcceptOnceFileListFilter<?>> getPersistentAcceptOnceFileListFilterClass()
-