Class AbstractRemoteFileInboundChannelAdapterParser
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.AbstractRemoteFileInboundChannelAdapterParser
- All Implemented Interfaces:
BeanDefinitionParser
- Direct Known Subclasses:
FtpInboundChannelAdapterParser
,SftpInboundChannelAdapterParser
,SmbInboundChannelAdapterParser
public abstract class AbstractRemoteFileInboundChannelAdapterParser
extends AbstractPollingInboundChannelAdapterParser
Abstract base class for parsing remote file inbound channel adapters.
- Since:
- 2.0
- Author:
- Oleg Zhurakousky, Mark Fisher, Gary Russell, Artem Bilan, Venil Noronha
-
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 InboundFileSynchronizer>
protected abstract String
protected abstract Class<? extends AbstractPersistentAcceptOnceFileListFilter<?>>
protected abstract Class<? extends FileListFilter<?>>
protected abstract Class<? extends FileListFilter<?>>
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
-
AbstractRemoteFileInboundChannelAdapterParser
public AbstractRemoteFileInboundChannelAdapterParser()
-
-
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.
-
getMessageSourceClassname
-
getInboundFileSynchronizerClass
-
getSimplePatternFileListFilterClass
-
getRegexPatternFileListFilterClass
-
getPersistentAcceptOnceFileListFilterClass
protected abstract Class<? extends AbstractPersistentAcceptOnceFileListFilter<?>> getPersistentAcceptOnceFileListFilterClass()
-