Class ConfigurableFtpSessionFactory
java.lang.Object
org.springframework.integration.ftp.session.AbstractFtpSessionFactory<org.apache.commons.net.ftp.FTPClient>
org.springframework.integration.ftp.session.DefaultFtpSessionFactory
de.hybris.platform.acceleratorservices.dataexport.generic.config.ConfigurableFtpSessionFactory
- All Implemented Interfaces:
ConfigurableSessionFactory<org.apache.commons.net.ftp.FTPFile>,org.springframework.integration.file.remote.session.SessionFactory<org.apache.commons.net.ftp.FTPFile>
public class ConfigurableFtpSessionFactory
extends org.springframework.integration.ftp.session.DefaultFtpSessionFactory
implements ConfigurableSessionFactory<org.apache.commons.net.ftp.FTPFile>
Customized FTP Session factory that configures the FTP session directly (not via spring xml unlike Default) before
creating the session.
-
Field Summary
Fields inherited from class org.springframework.integration.ftp.session.AbstractFtpSessionFactory
logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.integration.file.remote.session.Session<org.apache.commons.net.ftp.FTPFile>getSession(org.springframework.messaging.Message<?> message) Get a session using the message.Methods inherited from class org.springframework.integration.ftp.session.DefaultFtpSessionFactory
createClientInstanceMethods inherited from class org.springframework.integration.ftp.session.AbstractFtpSessionFactory
getSession, postProcessClientAfterConnect, postProcessClientBeforeConnect, setBufferSize, setClientMode, setConfig, setConnectTimeout, setControlEncoding, setDataTimeout, setDefaultTimeout, setFileType, setHost, setPassword, setPort, setUsernameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.integration.file.remote.session.SessionFactory
getSession
-
Constructor Details
-
ConfigurableFtpSessionFactory
public ConfigurableFtpSessionFactory()
-
-
Method Details
-
getSession
public org.springframework.integration.file.remote.session.Session<org.apache.commons.net.ftp.FTPFile> getSession(org.springframework.messaging.Message<?> message) Description copied from interface:ConfigurableSessionFactoryGet a session using the message.- Specified by:
getSessionin interfaceConfigurableSessionFactory<org.apache.commons.net.ftp.FTPFile>- Parameters:
message- spring message- Returns:
- session connection
-