Spring Integration

org.springframework.integration.ftp.session
Class DefaultFtpsSessionFactory

java.lang.Object
  extended by org.springframework.integration.ftp.session.AbstractFtpSessionFactory<org.apache.commons.net.ftp.FTPSClient>
      extended by org.springframework.integration.ftp.session.DefaultFtpsSessionFactory
All Implemented Interfaces:
SessionFactory<org.apache.commons.net.ftp.FTPFile>

public class DefaultFtpsSessionFactory
extends AbstractFtpSessionFactory<org.apache.commons.net.ftp.FTPSClient>

SessionFactory for FTPS.

Since:
2.0
Author:
Josh Long, Iwein Fuld, Mark Fisher

Field Summary
 
Fields inherited from class org.springframework.integration.ftp.session.AbstractFtpSessionFactory
bufferSize, clientMode, config, controlEncoding, DEFAULT_REMOTE_WORKING_DIRECTORY, fileType, host, password, port, username
 
Constructor Summary
DefaultFtpsSessionFactory()
           
 
Method Summary
protected  org.apache.commons.net.ftp.FTPSClient createClientInstance()
           
protected  void postProcessClientAfterConnect(org.apache.commons.net.ftp.FTPSClient ftpsClient)
          Will handle additional initialization after client.connect() method was invoked, but before any action on the client has been taken
protected  void postProcessClientBeforeConnect(org.apache.commons.net.ftp.FTPSClient ftpsClient)
          Will handle additional initialization before client.connect() method was invoked.
 void setAuthValue(java.lang.String authValue)
           
 void setCipherSuites(java.lang.String[] cipherSuites)
           
 void setImplicit(boolean implicit)
           
 void setKeyManager(javax.net.ssl.KeyManager keyManager)
           
 void setNeedClientAuth(java.lang.Boolean needClientAuth)
           
 void setProt(java.lang.String prot)
           
 void setProtocol(java.lang.String protocol)
           
 void setProtocols(java.lang.String[] protocols)
           
 void setSessionCreation(java.lang.Boolean sessionCreation)
           
 void setTrustManager(javax.net.ssl.TrustManager trustManager)
           
 void setUseClientMode(java.lang.Boolean useClientMode)
           
 void setWantsClientAuth(java.lang.Boolean wantsClientAuth)
           
 
Methods inherited from class org.springframework.integration.ftp.session.AbstractFtpSessionFactory
getSession, setBufferSize, setClientMode, setConfig, setControlEncoding, setFileType, setHost, setPassword, setPort, setUsername
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultFtpsSessionFactory

public DefaultFtpsSessionFactory()
Method Detail

setProtocol

public void setProtocol(java.lang.String protocol)

setUseClientMode

public void setUseClientMode(java.lang.Boolean useClientMode)

setSessionCreation

public void setSessionCreation(java.lang.Boolean sessionCreation)

setAuthValue

public void setAuthValue(java.lang.String authValue)

setTrustManager

public void setTrustManager(javax.net.ssl.TrustManager trustManager)

setCipherSuites

public void setCipherSuites(java.lang.String[] cipherSuites)

setProtocols

public void setProtocols(java.lang.String[] protocols)

setKeyManager

public void setKeyManager(javax.net.ssl.KeyManager keyManager)

setNeedClientAuth

public void setNeedClientAuth(java.lang.Boolean needClientAuth)

setWantsClientAuth

public void setWantsClientAuth(java.lang.Boolean wantsClientAuth)

setProt

public void setProt(java.lang.String prot)

setImplicit

public void setImplicit(boolean implicit)

createClientInstance

protected org.apache.commons.net.ftp.FTPSClient createClientInstance()
Specified by:
createClientInstance in class AbstractFtpSessionFactory<org.apache.commons.net.ftp.FTPSClient>

postProcessClientAfterConnect

protected void postProcessClientAfterConnect(org.apache.commons.net.ftp.FTPSClient ftpsClient)
                                      throws java.io.IOException
Description copied from class: AbstractFtpSessionFactory
Will handle additional initialization after client.connect() method was invoked, but before any action on the client has been taken

Overrides:
postProcessClientAfterConnect in class AbstractFtpSessionFactory<org.apache.commons.net.ftp.FTPSClient>
Throws:
java.io.IOException

postProcessClientBeforeConnect

protected void postProcessClientBeforeConnect(org.apache.commons.net.ftp.FTPSClient ftpsClient)
                                       throws java.io.IOException
Description copied from class: AbstractFtpSessionFactory
Will handle additional initialization before client.connect() method was invoked.

Overrides:
postProcessClientBeforeConnect in class AbstractFtpSessionFactory<org.apache.commons.net.ftp.FTPSClient>
Throws:
java.io.IOException

Spring Integration