public class EmailClientConnectionPoolFactory
extends org.apache.commons.pool.BaseKeyedPoolableObjectFactory
| Constructor and Description |
|---|
EmailClientConnectionPoolFactory(org.wso2.transport.email.contract.EmailConnectorFactory emailConnectorFactory,
Map<String,String> clientProperties) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroyObject(Object key,
Object obj) |
Object |
makeObject(Object key) |
boolean |
validateObject(Object key,
Object obj) |
public EmailClientConnectionPoolFactory(org.wso2.transport.email.contract.EmailConnectorFactory emailConnectorFactory,
Map<String,String> clientProperties)
throws org.wso2.transport.email.exception.EmailConnectorException
org.wso2.transport.email.exception.EmailConnectorExceptionpublic Object makeObject(Object key) throws org.wso2.transport.email.exception.EmailConnectorException
makeObject in interface org.apache.commons.pool.KeyedPoolableObjectFactorymakeObject in class org.apache.commons.pool.BaseKeyedPoolableObjectFactoryorg.wso2.transport.email.exception.EmailConnectorExceptionpublic boolean validateObject(Object key, Object obj)
validateObject in interface org.apache.commons.pool.KeyedPoolableObjectFactoryvalidateObject in class org.apache.commons.pool.BaseKeyedPoolableObjectFactoryCopyright © 2019 WSO2. All rights reserved.