org.springframework.integration.sftp.inbound
Class SftpInboundFileSynchronizingMessageSource
java.lang.Object
org.springframework.integration.context.IntegrationObjectSupport
org.springframework.integration.endpoint.AbstractEndpoint
org.springframework.integration.endpoint.MessageProducerSupport
org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizingMessageSource<com.jcraft.jsch.ChannelSftp.LsEntry>
org.springframework.integration.sftp.inbound.SftpInboundFileSynchronizingMessageSource
- All Implemented Interfaces:
- org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean, org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle, org.springframework.integration.context.NamedComponent, org.springframework.integration.core.MessageProducer, org.springframework.integration.core.MessageSource<java.io.File>, org.springframework.integration.history.TrackableComponent
public class SftpInboundFileSynchronizingMessageSource
- extends org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizingMessageSource<com.jcraft.jsch.ChannelSftp.LsEntry>
A MessageSource implementation for SFTP
that delegates to an InboundFileSynchronizer.
- Since:
- 2.0
| Fields inherited from class org.springframework.integration.context.IntegrationObjectSupport |
logger |
|
Constructor Summary |
SftpInboundFileSynchronizingMessageSource(org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer<com.jcraft.jsch.ChannelSftp.LsEntry> synchronizer)
|
SftpInboundFileSynchronizingMessageSource(org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer<com.jcraft.jsch.ChannelSftp.LsEntry> synchronizer,
java.util.Comparator<java.io.File> comparator)
|
| Methods inherited from class org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizingMessageSource |
onInit, receive, setAutoCreateLocalDirectory, setLocalDirectory |
| Methods inherited from class org.springframework.integration.endpoint.MessageProducerSupport |
doStart, doStop, sendMessage, setErrorChannel, setOutputChannel, setSendTimeout, setShouldTrack |
| Methods inherited from class org.springframework.integration.endpoint.AbstractEndpoint |
getPhase, isAutoStartup, isRunning, setAutoStartup, setPhase, setTaskScheduler, start, stop, stop |
| Methods inherited from class org.springframework.integration.context.IntegrationObjectSupport |
afterPropertiesSet, getBeanFactory, getComponentName, getConversionService, getTaskScheduler, setBeanFactory, setBeanName, setComponentName, setConversionService, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.springframework.integration.context.NamedComponent |
getComponentName |
SftpInboundFileSynchronizingMessageSource
public SftpInboundFileSynchronizingMessageSource(org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer<com.jcraft.jsch.ChannelSftp.LsEntry> synchronizer)
SftpInboundFileSynchronizingMessageSource
public SftpInboundFileSynchronizingMessageSource(org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer<com.jcraft.jsch.ChannelSftp.LsEntry> synchronizer,
java.util.Comparator<java.io.File> comparator)
getComponentType
public java.lang.String getComponentType()
- Specified by:
getComponentType in interface org.springframework.integration.context.NamedComponent- Overrides:
getComponentType in class org.springframework.integration.context.IntegrationObjectSupport