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
Nested Classes -
Field Summary
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
loggerFields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
ConstructorsConstructorDescriptionJschProxyFactoryBean(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:
getObjectTypein interfaceFactoryBean<com.jcraft.jsch.Proxy>- Specified by:
getObjectTypein classAbstractFactoryBean<com.jcraft.jsch.Proxy>
-
createInstance
protected com.jcraft.jsch.Proxy createInstance()- Specified by:
createInstancein classAbstractFactoryBean<com.jcraft.jsch.Proxy>
-