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 AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract Class<? extends InboundFileSynchronizer> protected abstract Stringprotected abstract Class<? extends AbstractPersistentAcceptOnceFileListFilter<?>> protected abstract Class<? extends FileListFilter<?>> protected abstract Class<? extends FileListFilter<?>> 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
-
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()
-