org.springframework.integration.ftp.impl
Class FtpRemoteFileSystemSynchronizingMessageSourceFactoryBean
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<FtpInboundRemoteFileSystemSynchronizingMessageSource>
org.springframework.integration.ftp.impl.FtpRemoteFileSystemSynchronizingMessageSourceFactoryBean
- All Implemented Interfaces:
- BeanClassLoaderAware, BeanFactoryAware, DisposableBean, FactoryBean<FtpInboundRemoteFileSystemSynchronizingMessageSource>, InitializingBean, ResourceLoaderAware
- Direct Known Subclasses:
- FtpsRemoteFileSystemSynchronizingMessageSourceFactoryBean
public class FtpRemoteFileSystemSynchronizingMessageSourceFactoryBean
- extends AbstractFactoryBean<FtpInboundRemoteFileSystemSynchronizingMessageSource>
- implements ResourceLoaderAware
Factory to make building the namespace easier
- 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 |
port
protected volatile String port
autoCreateDirectories
protected volatile String autoCreateDirectories
filenamePattern
protected volatile String filenamePattern
username
protected volatile String username
password
protected volatile String password
host
protected volatile String host
remoteDirectory
protected volatile String remoteDirectory
localWorkingDirectory
protected volatile String localWorkingDirectory
resourceLoader
protected volatile ResourceLoader resourceLoader
localDirectoryResource
protected volatile Resource localDirectoryResource
filter
protected volatile EntryListFilter<org.apache.commons.net.ftp.FTPFile> filter
clientMode
protected volatile int clientMode
fileType
protected volatile int fileType
defaultFtpInboundFolderName
protected String defaultFtpInboundFolderName
FtpRemoteFileSystemSynchronizingMessageSourceFactoryBean
public FtpRemoteFileSystemSynchronizingMessageSourceFactoryBean()
setFileType
public void setFileType(int fileType)
setAutoDeleteRemoteFilesOnSync
public void setAutoDeleteRemoteFilesOnSync(String autoDeleteRemoteFilesOnSync)
getObjectType
public Class<?> getObjectType()
- Specified by:
getObjectType
in interface FactoryBean<FtpInboundRemoteFileSystemSynchronizingMessageSource>
- Specified by:
getObjectType
in class AbstractFactoryBean<FtpInboundRemoteFileSystemSynchronizingMessageSource>
defaultClientFactory
protected AbstractFtpClientFactory defaultClientFactory()
throws Exception
- Throws:
Exception
createInstance
protected FtpInboundRemoteFileSystemSynchronizingMessageSource createInstance()
throws Exception
- Specified by:
createInstance
in class AbstractFactoryBean<FtpInboundRemoteFileSystemSynchronizingMessageSource>
- Throws:
Exception
setPort
public void setPort(String port)
setAutoCreateDirectories
public void setAutoCreateDirectories(String autoCreateDirectories)
setFilenamePattern
public void setFilenamePattern(String filenamePattern)
setUsername
public void setUsername(String username)
setPassword
public void setPassword(String password)
setHost
public void setHost(String host)
setRemoteDirectory
public void setRemoteDirectory(String remoteDirectory)
setLocalWorkingDirectory
public void setLocalWorkingDirectory(String localWorkingDirectory)
setFilter
public void setFilter(EntryListFilter<org.apache.commons.net.ftp.FTPFile> filter)
setClientMode
public void setClientMode(int clientMode)
setResourceLoader
public void setResourceLoader(ResourceLoader resourceLoader)
- Specified by:
setResourceLoader
in interface ResourceLoaderAware
Copyright © 2010. All Rights Reserved.