org.mule.transport.sftp
Class SftpConnectionFactory

java.lang.Object
  extended by org.mule.transport.sftp.SftpConnectionFactory
All Implemented Interfaces:
PoolableObjectFactory

public class SftpConnectionFactory
extends Object
implements PoolableObjectFactory


Constructor Summary
SftpConnectionFactory(ImmutableEndpoint endpoint)
           
 
Method Summary
 void activateObject(Object o)
           
static SftpClient createClient(ImmutableEndpoint endpoint)
           
 void destroyObject(Object o)
           
 Object makeObject()
           
 void passivateObject(Object o)
           
 boolean validateObject(Object o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SftpConnectionFactory

public SftpConnectionFactory(ImmutableEndpoint endpoint)
Method Detail

activateObject

public void activateObject(Object o)
                    throws Exception
Specified by:
activateObject in interface PoolableObjectFactory
Throws:
Exception

destroyObject

public void destroyObject(Object o)
                   throws Exception
Specified by:
destroyObject in interface PoolableObjectFactory
Throws:
Exception

makeObject

public Object makeObject()
                  throws Exception
Specified by:
makeObject in interface PoolableObjectFactory
Throws:
Exception

createClient

public static SftpClient createClient(ImmutableEndpoint endpoint)
                               throws Exception
Throws:
Exception

passivateObject

public void passivateObject(Object o)
                     throws Exception
Specified by:
passivateObject in interface PoolableObjectFactory
Throws:
Exception

validateObject

public boolean validateObject(Object o)
Specified by:
validateObject in interface PoolableObjectFactory


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.