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
Spring-friendly factory bean to create Jsch
Proxy
objects.- Since:
- 4.3
- Author:
- Gary Russell
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
logger
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
-
Constructor Summary
ConstructorDescriptionJschProxyFactoryBean
(JschProxyFactoryBean.Type type, String host, int port, String user, String password) -
Method Summary
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>
-