Class JschProxyFactoryBean
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<com.jcraft.jsch.Proxy>
org.springframework.integration.sftp.session.JschProxyFactoryBean
- All Implemented Interfaces:
Aware
,BeanClassLoaderAware
,BeanFactoryAware
,DisposableBean
,FactoryBean<com.jcraft.jsch.Proxy>
,InitializingBean
public class JschProxyFactoryBean extends AbstractFactoryBean<com.jcraft.jsch.Proxy>
Spring-friendly factory bean to create Jsch
Proxy
objects.- Since:
- 4.3
- Author:
- Gary Russell
-
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, String host, int port, String user, String password)
-
Method Summary
Modifier and Type Method Description protected com.jcraft.jsch.Proxy
createInstance()
Class<?>
getObjectType()
Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroy, destroyInstance, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
-
Constructor Details
-
JschProxyFactoryBean
public JschProxyFactoryBean(JschProxyFactoryBean.Type type, String host, int port, String user, String password)
-
-
Method Details
-
getObjectType
- Specified by:
getObjectType
in interfaceFactoryBean<com.jcraft.jsch.Proxy>
- Specified by:
getObjectType
in classAbstractFactoryBean<com.jcraft.jsch.Proxy>
-
createInstance
protected com.jcraft.jsch.Proxy createInstance()- Specified by:
createInstance
in classAbstractFactoryBean<com.jcraft.jsch.Proxy>
-