org.springframework.integration.sftp.session
Class DefaultSftpSessionFactory

java.lang.Object
  extended by org.springframework.integration.sftp.session.DefaultSftpSessionFactory
All Implemented Interfaces:
SessionFactory

public class DefaultSftpSessionFactory
extends java.lang.Object
implements SessionFactory

Factory for creating SftpSession instances.

Since:
2.0

Constructor Summary
DefaultSftpSessionFactory()
           
 
Method Summary
 Session getSession()
           
 void setClientVersion(java.lang.String clientVersion)
           
 void setEnableDaemonThread(java.lang.Boolean enableDaemonThread)
           
 void setHost(java.lang.String host)
           
 void setHostKeyAlias(java.lang.String hostKeyAlias)
           
 void setKnownHosts(java.lang.String knownHosts)
           
 void setPassword(java.lang.String password)
           
 void setPort(int port)
           
 void setPrivateKey(Resource privateKey)
           
 void setPrivateKeyPassphrase(java.lang.String privateKeyPassphrase)
           
 void setProxy(com.jcraft.jsch.Proxy proxy)
           
 void setServerAliveCountMax(java.lang.Integer serverAliveCountMax)
           
 void setServerAliveInterval(java.lang.Integer serverAliveInterval)
           
 void setSessionConfig(java.util.Properties sessionConfig)
           
 void setSocketFactory(com.jcraft.jsch.SocketFactory socketFactory)
           
 void setTimeout(java.lang.Integer timeout)
           
 void setUser(java.lang.String user)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultSftpSessionFactory

public DefaultSftpSessionFactory()
Method Detail

setHost

public void setHost(java.lang.String host)

setPort

public void setPort(int port)

setUser

public void setUser(java.lang.String user)

setPassword

public void setPassword(java.lang.String password)

setKnownHosts

public void setKnownHosts(java.lang.String knownHosts)

setPrivateKey

public void setPrivateKey(Resource privateKey)

setPrivateKeyPassphrase

public void setPrivateKeyPassphrase(java.lang.String privateKeyPassphrase)

setSessionConfig

public void setSessionConfig(java.util.Properties sessionConfig)

setProxy

public void setProxy(com.jcraft.jsch.Proxy proxy)

setSocketFactory

public void setSocketFactory(com.jcraft.jsch.SocketFactory socketFactory)

setTimeout

public void setTimeout(java.lang.Integer timeout)

setClientVersion

public void setClientVersion(java.lang.String clientVersion)

setHostKeyAlias

public void setHostKeyAlias(java.lang.String hostKeyAlias)

setServerAliveInterval

public void setServerAliveInterval(java.lang.Integer serverAliveInterval)

setServerAliveCountMax

public void setServerAliveCountMax(java.lang.Integer serverAliveCountMax)

setEnableDaemonThread

public void setEnableDaemonThread(java.lang.Boolean enableDaemonThread)

getSession

public Session getSession()
Specified by:
getSession in interface SessionFactory