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 org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
-
Constructor Summary
-
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 BeanMetadataElement
parseSource
(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 org.springframework.integration.config.xml.AbstractPollingInboundChannelAdapterParser
doParse
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
-
AbstractRemoteFileStreamingInboundChannelAdapterParser
public AbstractRemoteFileStreamingInboundChannelAdapterParser()
-
-
Method Details
-
parseSource
Description copied from class:AbstractPollingInboundChannelAdapterParser
Subclasses must implement this method to parse the PollableSource instance which the created Channel Adapter will poll.- Specified by:
parseSource
in 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()
-