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 -
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 interfaceorg.springframework.beans.factory.FactoryBean<com.jcraft.jsch.Proxy>- Specified by:
getObjectTypein classorg.springframework.beans.factory.config.AbstractFactoryBean<com.jcraft.jsch.Proxy>
-
createInstance
protected com.jcraft.jsch.Proxy createInstance()- Specified by:
createInstancein classorg.springframework.beans.factory.config.AbstractFactoryBean<com.jcraft.jsch.Proxy>
-