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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.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

    createClientInstance

    Methods inherited from class org.springframework.integration.ftp.session.AbstractFtpSessionFactory

    getSession, postProcessClientAfterConnect, postProcessClientBeforeConnect, setBufferSize, setClientMode, setConfig, setConnectTimeout, setControlEncoding, setDataTimeout, setDefaultTimeout, setFileType, setHost, setPassword, setPort, setUsername

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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: ConfigurableSessionFactory
      Get a session using the message.
      Specified by:
      getSession in interface ConfigurableSessionFactory<org.apache.commons.net.ftp.FTPFile>
      Parameters:
      message - spring message
      Returns:
      session connection