org.mule.transport.ftp
Class FtpConnectionFactory

java.lang.Object
  extended by org.mule.transport.ftp.FtpConnectionFactory
All Implemented Interfaces:
org.apache.commons.pool.PoolableObjectFactory

public class FtpConnectionFactory
extends Object
implements org.apache.commons.pool.PoolableObjectFactory


Constructor Summary
FtpConnectionFactory(EndpointURI uri)
           
 
Method Summary
 void activateObject(Object obj)
           
protected  org.apache.commons.net.ftp.FTPClient createFtpClient()
           
 void destroyObject(Object obj)
           
 Object makeObject()
           
 void passivateObject(Object obj)
           
 boolean validateObject(Object obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FtpConnectionFactory

public FtpConnectionFactory(EndpointURI uri)
Method Detail

makeObject

public Object makeObject()
                  throws Exception
Specified by:
makeObject in interface org.apache.commons.pool.PoolableObjectFactory
Throws:
Exception

createFtpClient

protected org.apache.commons.net.ftp.FTPClient createFtpClient()

destroyObject

public void destroyObject(Object obj)
                   throws Exception
Specified by:
destroyObject in interface org.apache.commons.pool.PoolableObjectFactory
Throws:
Exception

validateObject

public boolean validateObject(Object obj)
Specified by:
validateObject in interface org.apache.commons.pool.PoolableObjectFactory

activateObject

public void activateObject(Object obj)
                    throws Exception
Specified by:
activateObject in interface org.apache.commons.pool.PoolableObjectFactory
Throws:
Exception

passivateObject

public void passivateObject(Object obj)
                     throws Exception
Specified by:
passivateObject in interface org.apache.commons.pool.PoolableObjectFactory
Throws:
Exception


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