public class FTPSClientFactory extends org.apache.commons.pool2.BaseKeyedPooledObjectFactory<FTPSClientConfig,org.apache.commons.net.ftp.FTPSClient>
| Constructor and Description |
|---|
FTPSClientFactory() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.commons.net.ftp.FTPSClient |
create(FTPSClientConfig key) |
void |
destroyObject(FTPSClientConfig config,
org.apache.commons.pool2.PooledObject<org.apache.commons.net.ftp.FTPSClient> ftps) |
boolean |
validateObject(FTPSClientConfig config,
org.apache.commons.pool2.PooledObject<org.apache.commons.net.ftp.FTPSClient> ftps) |
org.apache.commons.pool2.PooledObject<org.apache.commons.net.ftp.FTPSClient> |
wrap(org.apache.commons.net.ftp.FTPSClient ftps) |
public org.apache.commons.pool2.PooledObject<org.apache.commons.net.ftp.FTPSClient> wrap(org.apache.commons.net.ftp.FTPSClient ftps)
wrap in class org.apache.commons.pool2.BaseKeyedPooledObjectFactory<FTPSClientConfig,org.apache.commons.net.ftp.FTPSClient>public void destroyObject(FTPSClientConfig config, org.apache.commons.pool2.PooledObject<org.apache.commons.net.ftp.FTPSClient> ftps) throws Exception
destroyObject in interface org.apache.commons.pool2.KeyedPooledObjectFactory<FTPSClientConfig,org.apache.commons.net.ftp.FTPSClient>destroyObject in class org.apache.commons.pool2.BaseKeyedPooledObjectFactory<FTPSClientConfig,org.apache.commons.net.ftp.FTPSClient>Exceptionpublic boolean validateObject(FTPSClientConfig config, org.apache.commons.pool2.PooledObject<org.apache.commons.net.ftp.FTPSClient> ftps)
validateObject in interface org.apache.commons.pool2.KeyedPooledObjectFactory<FTPSClientConfig,org.apache.commons.net.ftp.FTPSClient>validateObject in class org.apache.commons.pool2.BaseKeyedPooledObjectFactory<FTPSClientConfig,org.apache.commons.net.ftp.FTPSClient>public org.apache.commons.net.ftp.FTPSClient create(FTPSClientConfig key) throws Exception
create in class org.apache.commons.pool2.BaseKeyedPooledObjectFactory<FTPSClientConfig,org.apache.commons.net.ftp.FTPSClient>ExceptionCopyright © 2010–2018. All rights reserved.