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

    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

    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()  

    Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean

    afterPropertiesSet, destroy, destroyInstance, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getObjectType

      public java.lang.Class<?> getObjectType()
      Specified by:
      getObjectType in interface org.springframework.beans.factory.FactoryBean<com.jcraft.jsch.Proxy>
      Specified by:
      getObjectType in class org.springframework.beans.factory.config.AbstractFactoryBean<com.jcraft.jsch.Proxy>
    • createInstance

      protected com.jcraft.jsch.Proxy createInstance()
      Specified by:
      createInstance in class org.springframework.beans.factory.config.AbstractFactoryBean<com.jcraft.jsch.Proxy>