org.apache.stratos.cartridge.agent.artifact.deployment.synchronizer.git.internal
Class CustomJschConfigSessionFactory

java.lang.Object
  extended by org.eclipse.jgit.transport.SshSessionFactory
      extended by org.eclipse.jgit.transport.JschConfigSessionFactory
          extended by org.apache.stratos.cartridge.agent.artifact.deployment.synchronizer.git.internal.CustomJschConfigSessionFactory

public class CustomJschConfigSessionFactory
extends org.eclipse.jgit.transport.JschConfigSessionFactory

overrides the default org.eclipse.jgit.transport.JschConfigSessionFactory


Constructor Summary
CustomJschConfigSessionFactory()
           
 
Method Summary
protected  void configure(org.eclipse.jgit.transport.OpenSshConfig.Host host, com.jcraft.jsch.Session session)
           
protected  com.jcraft.jsch.JSch createDefaultJSch(org.eclipse.jgit.util.FS fs)
           
 
Methods inherited from class org.eclipse.jgit.transport.JschConfigSessionFactory
createSession, getJSch, getSession
 
Methods inherited from class org.eclipse.jgit.transport.SshSessionFactory
getInstance, releaseSession, setInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomJschConfigSessionFactory

public CustomJschConfigSessionFactory()
Method Detail

configure

protected void configure(org.eclipse.jgit.transport.OpenSshConfig.Host host,
                         com.jcraft.jsch.Session session)
Specified by:
configure in class org.eclipse.jgit.transport.JschConfigSessionFactory

createDefaultJSch

protected com.jcraft.jsch.JSch createDefaultJSch(org.eclipse.jgit.util.FS fs)
                                          throws com.jcraft.jsch.JSchException
Overrides:
createDefaultJSch in class org.eclipse.jgit.transport.JschConfigSessionFactory
Throws:
com.jcraft.jsch.JSchException


Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.