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
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
Constructors Constructor Description AbstractRemoteFileInboundChannelAdapterParser() -
Method Summary
Modifier and Type Method Description protected abstract Class<? extends InboundFileSynchronizer>getInboundFileSynchronizerClass()protected abstract StringgetMessageSourceClassname()protected abstract Class<? extends AbstractPersistentAcceptOnceFileListFilter<?>>getPersistentAcceptOnceFileListFilterClass()protected abstract Class<? extends FileListFilter<?>>getRegexPatternFileListFilterClass()protected abstract Class<? extends FileListFilter<?>>getSimplePatternFileListFilterClass()protected 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 org.springframework.integration.config.xml.AbstractPollingInboundChannelAdapterParser
doParseMethods 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
-
AbstractRemoteFileInboundChannelAdapterParser
public AbstractRemoteFileInboundChannelAdapterParser()
-
-
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.
-
getMessageSourceClassname
-
getInboundFileSynchronizerClass
-
getSimplePatternFileListFilterClass
-
getRegexPatternFileListFilterClass
-
getPersistentAcceptOnceFileListFilterClass
protected abstract Class<? extends AbstractPersistentAcceptOnceFileListFilter<?>> getPersistentAcceptOnceFileListFilterClass()
-