org.springframework.integration.sftp.impl
Class SftpRemoteFileSystemSynchronizingMessageSourceFactoryBean
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<SftpInboundRemoteFileSystemSynchronizingMessageSource>
org.springframework.integration.sftp.impl.SftpRemoteFileSystemSynchronizingMessageSourceFactoryBean
- All Implemented Interfaces:
- BeanClassLoaderAware, BeanFactoryAware, DisposableBean, FactoryBean<SftpInboundRemoteFileSystemSynchronizingMessageSource>, InitializingBean, ResourceLoaderAware
public class SftpRemoteFileSystemSynchronizingMessageSourceFactoryBean
- extends AbstractFactoryBean<SftpInboundRemoteFileSystemSynchronizingMessageSource>
- implements ResourceLoaderAware
a factory bean to hide the fairly complex configuration possibilities for an SFTP endpoint
- Author:
- Josh Long
Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean |
afterPropertiesSet, destroy, destroyInstance, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SftpRemoteFileSystemSynchronizingMessageSourceFactoryBean
public SftpRemoteFileSystemSynchronizingMessageSourceFactoryBean()
setLocalDirectoryResource
public void setLocalDirectoryResource(Resource localDirectoryResource)
setLocalDirectoryPath
public void setLocalDirectoryPath(String localDirectoryPath)
setAutoCreateDirectories
public void setAutoCreateDirectories(String autoCreateDirectories)
setAutoDeleteRemoteFilesOnSync
public void setAutoDeleteRemoteFilesOnSync(String autoDeleteRemoteFilesOnSync)
setFilenamePattern
public void setFilenamePattern(String filenamePattern)
setFilter
public void setFilter(EntryListFilter<com.jcraft.jsch.ChannelSftp.LsEntry> filter)
setPort
public void setPort(int port)
setHost
public void setHost(String host)
setKeyFile
public void setKeyFile(String keyFile)
setKeyFilePassword
public void setKeyFilePassword(String keyFilePassword)
setPassword
public void setPassword(String password)
setRemoteDirectory
public void setRemoteDirectory(String remoteDirectory)
setUsername
public void setUsername(String username)
setResourceLoader
public void setResourceLoader(ResourceLoader resourceLoader)
- Specified by:
setResourceLoader
in interface ResourceLoaderAware
getObjectType
public Class<?> getObjectType()
- Specified by:
getObjectType
in interface FactoryBean<SftpInboundRemoteFileSystemSynchronizingMessageSource>
- Specified by:
getObjectType
in class AbstractFactoryBean<SftpInboundRemoteFileSystemSynchronizingMessageSource>
createInstance
protected SftpInboundRemoteFileSystemSynchronizingMessageSource createInstance()
throws Exception
- Specified by:
createInstance
in class AbstractFactoryBean<SftpInboundRemoteFileSystemSynchronizingMessageSource>
- Throws:
Exception
Copyright © 2010. All Rights Reserved.