org.springframework.integration.ftp
Class FtpSendingMessageHandlerFactoryBean
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<FtpSendingMessageHandler>
org.springframework.integration.ftp.FtpSendingMessageHandlerFactoryBean
- All Implemented Interfaces:
- BeanClassLoaderAware, BeanFactoryAware, DisposableBean, FactoryBean<FtpSendingMessageHandler>, InitializingBean, ApplicationContextAware, ResourceLoaderAware
- Direct Known Subclasses:
- FtpsSendingMessageHandlerFactoryBean
public class FtpSendingMessageHandlerFactoryBean
- extends AbstractFactoryBean<FtpSendingMessageHandler>
- implements ResourceLoaderAware, ApplicationContextAware
A factory bean implementation that handles constructing an outbound FTP adapter.
- 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 int port
username
protected String username
password
protected String password
host
protected String host
remoteDirectory
protected String remoteDirectory
clientMode
protected int clientMode
FtpSendingMessageHandlerFactoryBean
public FtpSendingMessageHandlerFactoryBean()
setClientMode
public void setClientMode(int clientMode)
setResourceLoader
public void setResourceLoader(ResourceLoader resourceLoader)
- Specified by:
setResourceLoader
in interface ResourceLoaderAware
setApplicationContext
public void setApplicationContext(ApplicationContext applicationContext)
throws BeansException
- Specified by:
setApplicationContext
in interface ApplicationContextAware
- Throws:
BeansException
getObjectType
public Class<? extends FtpSendingMessageHandler> getObjectType()
- Specified by:
getObjectType
in interface FactoryBean<FtpSendingMessageHandler>
- Specified by:
getObjectType
in class AbstractFactoryBean<FtpSendingMessageHandler>
clientFactory
protected AbstractFtpClientFactory clientFactory()
createInstance
protected FtpSendingMessageHandler createInstance()
throws Exception
- Specified by:
createInstance
in class AbstractFactoryBean<FtpSendingMessageHandler>
- Throws:
Exception
setPort
public void setPort(int port)
setUsername
public void setUsername(String username)
setPassword
public void setPassword(String password)
setHost
public void setHost(String host)
setRemoteDirectory
public void setRemoteDirectory(String remoteDirectory)
Copyright © 2010. All Rights Reserved.