org.springframework.integration.sftp.impl
Class SftpInboundRemoteFileSystemSynchronizingMessageSource
java.lang.Object
org.springframework.integration.context.IntegrationObjectSupport
org.springframework.integration.endpoint.AbstractEndpoint
org.springframework.integration.file.AbstractInboundRemoteFileSystemSynchronizingMessageSource<com.jcraft.jsch.ChannelSftp.LsEntry,SftpInboundRemoteFileSystemSynchronizer>
org.springframework.integration.sftp.impl.SftpInboundRemoteFileSystemSynchronizingMessageSource
- All Implemented Interfaces:
- BeanFactoryAware, BeanNameAware, InitializingBean, Lifecycle, Phased, SmartLifecycle, NamedComponent, MessageSource<File>
public class SftpInboundRemoteFileSystemSynchronizingMessageSource
- extends AbstractInboundRemoteFileSystemSynchronizingMessageSource<com.jcraft.jsch.ChannelSftp.LsEntry,SftpInboundRemoteFileSystemSynchronizer>
a MessageSource
implementation for SFTP
- Author:
- Josh Long
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. |
protected void |
onInit()
Subclasses may implement this for initialization logic. |
void |
setClientPool(SftpSessionPool clientPool)
|
void |
setRemotePath(String remotePath)
|
Methods inherited from class org.springframework.integration.context.IntegrationObjectSupport |
afterPropertiesSet, getBeanFactory, getComponentName, getComponentType, getConversionService, getRequiredMetadataPersister, getTaskScheduler, setBeanFactory, setBeanName, setComponentName, setConversionService, toString |
SftpInboundRemoteFileSystemSynchronizingMessageSource
public SftpInboundRemoteFileSystemSynchronizingMessageSource()
setClientPool
public void setClientPool(SftpSessionPool clientPool)
setRemotePath
public void setRemotePath(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()
throws Exception
- Description copied from class:
IntegrationObjectSupport
- Subclasses may implement this for initialization logic.
- Overrides:
onInit
in class AbstractInboundRemoteFileSystemSynchronizingMessageSource<com.jcraft.jsch.ChannelSftp.LsEntry,SftpInboundRemoteFileSystemSynchronizer>
- Throws:
Exception
Copyright © 2010. All Rights Reserved.