Class JschProxyFactoryBean
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<com.jcraft.jsch.Proxy>
org.springframework.integration.sftp.session.JschProxyFactoryBean
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanClassLoaderAware
,org.springframework.beans.factory.BeanFactoryAware
,org.springframework.beans.factory.DisposableBean
,org.springframework.beans.factory.FactoryBean<com.jcraft.jsch.Proxy>
,org.springframework.beans.factory.InitializingBean
public class JschProxyFactoryBean
extends org.springframework.beans.factory.config.AbstractFactoryBean<com.jcraft.jsch.Proxy>
Spring-friendly factory bean to create Jsch
Proxy
objects.- Since:
- 4.3
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JschProxyFactoryBean.Type
-
Field Summary
-
Constructor Summary
Constructors Constructor Description JschProxyFactoryBean(JschProxyFactoryBean.Type type, java.lang.String host, int port, java.lang.String user, java.lang.String password)
-
Method Summary
Modifier and Type Method Description protected com.jcraft.jsch.Proxy
createInstance()
java.lang.Class<?>
getObjectType()
-
Constructor Details
-
JschProxyFactoryBean
public JschProxyFactoryBean(JschProxyFactoryBean.Type type, java.lang.String host, int port, java.lang.String user, java.lang.String password)
-
-
Method Details
-
getObjectType
public java.lang.Class<?> getObjectType()- Specified by:
getObjectType
in interfaceorg.springframework.beans.factory.FactoryBean<com.jcraft.jsch.Proxy>
- Specified by:
getObjectType
in classorg.springframework.beans.factory.config.AbstractFactoryBean<com.jcraft.jsch.Proxy>
-
createInstance
protected com.jcraft.jsch.Proxy createInstance()- Specified by:
createInstance
in classorg.springframework.beans.factory.config.AbstractFactoryBean<com.jcraft.jsch.Proxy>
-