org.springframework.integration.sftp.impl
Class SftpInboundRemoteFileSystemSynchronizer
java.lang.Object
  
org.springframework.integration.context.IntegrationObjectSupport
      
org.springframework.integration.endpoint.AbstractEndpoint
          
org.springframework.integration.file.AbstractInboundRemoteFileSystemSychronizer<com.jcraft.jsch.ChannelSftp.LsEntry>
              
org.springframework.integration.sftp.impl.SftpInboundRemoteFileSystemSynchronizer
- All Implemented Interfaces: 
 - BeanFactoryAware, BeanNameAware, InitializingBean, Lifecycle, Phased, SmartLifecycle, NamedComponent
 
public class SftpInboundRemoteFileSystemSynchronizer
- extends AbstractInboundRemoteFileSystemSychronizer<com.jcraft.jsch.ChannelSftp.LsEntry>
 
Gandles the synchronization between a remote SFTP endpoint and a local mount.
 
 
 
 
 
 
 
 
 
| Methods inherited from class org.springframework.integration.context.IntegrationObjectSupport | 
afterPropertiesSet, getBeanFactory, getComponentName, getComponentType, getConversionService, getTaskScheduler, setBeanFactory, setBeanName, setComponentName, setConversionService, toString | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
SftpInboundRemoteFileSystemSynchronizer
public SftpInboundRemoteFileSystemSynchronizer()
setRemotePath
public void setRemotePath(java.lang.String remotePath)
 
setClientPool
public void setClientPool(SftpSessionPool clientPool)
 
getTrigger
protected Trigger getTrigger()
- Description copied from class: 
AbstractInboundRemoteFileSystemSychronizer 
- Returns a value in millis dictating how frequently the trigger should fire
- Specified by:
 getTrigger in class AbstractInboundRemoteFileSystemSychronizer<com.jcraft.jsch.ChannelSftp.LsEntry>
 
- Returns:
 - a 
Trigger implementation (likely,
         PeriodicTrigger) 
 
 
onInit
protected void onInit()
               throws java.lang.Exception
- Description copied from class: 
IntegrationObjectSupport 
- Subclasses may implement this for initialization logic.
- Overrides:
 onInit in class IntegrationObjectSupport
 
- Throws:
 java.lang.Exception
 
 
syncRemoteToLocalFileSystem
protected void syncRemoteToLocalFileSystem()
                                    throws java.lang.Exception
- Description copied from class: 
AbstractInboundRemoteFileSystemSychronizer 
- This is the callback where we need the implementation to do some specific work
- Specified by:
 syncRemoteToLocalFileSystem in class AbstractInboundRemoteFileSystemSychronizer<com.jcraft.jsch.ChannelSftp.LsEntry>
 
- Throws:
 java.lang.Exception - thrown if anything goes wrong