org.springframework.integration.sftp.impl
Class SftpInboundRemoteFileSystemSynchronizingMessageSource

java.lang.Object
  extended by org.springframework.integration.context.IntegrationObjectSupport
      extended by org.springframework.integration.endpoint.AbstractEndpoint
          extended by org.springframework.integration.endpoint.MessageProducerSupport
              extended by org.springframework.integration.file.AbstractInboundRemoteFileSystemSynchronizingMessageSource<com.jcraft.jsch.ChannelSftp.LsEntry,SftpInboundRemoteFileSystemSynchronizer>
                  extended by org.springframework.integration.sftp.impl.SftpInboundRemoteFileSystemSynchronizingMessageSource
All Implemented Interfaces:
BeanFactoryAware, BeanNameAware, InitializingBean, Lifecycle, Phased, SmartLifecycle, NamedComponent, MessageProducer, MessageSource<java.io.File>, TrackableComponent

public class SftpInboundRemoteFileSystemSynchronizingMessageSource
extends AbstractInboundRemoteFileSystemSynchronizingMessageSource<com.jcraft.jsch.ChannelSftp.LsEntry,SftpInboundRemoteFileSystemSynchronizer>

a MessageSource implementation for SFTP


Field Summary
 
Fields inherited from class org.springframework.integration.file.AbstractInboundRemoteFileSystemSynchronizingMessageSource
autoCreateDirectories, fileSource, INCOMPLETE_EXTENSION, localDirectory, remotePredicate, synchronizer
 
Fields inherited from class org.springframework.integration.context.IntegrationObjectSupport
logger
 
Constructor Summary
SftpInboundRemoteFileSystemSynchronizingMessageSource()
           
 
Method Summary
protected  void doStart()
          Subclasses must implement this method with the start behavior.
protected  void doStop()
          Subclasses must implement this method with the stop behavior.
 java.lang.String getComponentType()
          Subclasses may implement this method to provide component type information.
protected  void onInit()
          Subclasses may implement this for initialization logic.
 void setClientPool(SftpSessionPool clientPool)
           
 void setRemotePath(java.lang.String remotePath)
           
 
Methods inherited from class org.springframework.integration.file.AbstractInboundRemoteFileSystemSynchronizingMessageSource
receive, setAutoCreateDirectories, setLocalDirectory, setRemotePredicate, setSynchronizer
 
Methods inherited from class org.springframework.integration.endpoint.MessageProducerSupport
sendMessage, 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
 

Constructor Detail

SftpInboundRemoteFileSystemSynchronizingMessageSource

public SftpInboundRemoteFileSystemSynchronizingMessageSource()
Method Detail

setClientPool

public void setClientPool(SftpSessionPool clientPool)

setRemotePath

public void setRemotePath(java.lang.String remotePath)

doStart

protected void doStart()
Description copied from class: AbstractEndpoint
Subclasses must implement this method with the start behavior. This method will be invoked while holding the AbstractEndpoint.lifecycleLock.

Specified by:
doStart in class AbstractEndpoint

doStop

protected void doStop()
Description copied from class: AbstractEndpoint
Subclasses must implement this method with the stop behavior. This method will be invoked while holding the AbstractEndpoint.lifecycleLock.

Specified by:
doStop in class AbstractEndpoint

onInit

protected void onInit()
Description copied from class: IntegrationObjectSupport
Subclasses may implement this for initialization logic.

Overrides:
onInit in class AbstractInboundRemoteFileSystemSynchronizingMessageSource<com.jcraft.jsch.ChannelSftp.LsEntry,SftpInboundRemoteFileSystemSynchronizer>

getComponentType

public java.lang.String getComponentType()
Description copied from class: IntegrationObjectSupport
Subclasses may implement this method to provide component type information.

Specified by:
getComponentType in interface NamedComponent
Overrides:
getComponentType in class IntegrationObjectSupport