public class FtpConnectionFactory extends Object implements org.apache.commons.pool.PoolableObjectFactory
Constructor and Description |
---|
FtpConnectionFactory(EndpointURI uri) |
Modifier and Type | Method and Description |
---|---|
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) |
public FtpConnectionFactory(EndpointURI uri)
public Object makeObject() throws Exception
makeObject
in interface org.apache.commons.pool.PoolableObjectFactory
Exception
protected org.apache.commons.net.ftp.FTPClient createFtpClient()
public void destroyObject(Object obj) throws Exception
destroyObject
in interface org.apache.commons.pool.PoolableObjectFactory
Exception
public boolean validateObject(Object obj)
validateObject
in interface org.apache.commons.pool.PoolableObjectFactory
public void activateObject(Object obj) throws Exception
activateObject
in interface org.apache.commons.pool.PoolableObjectFactory
Exception
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.