org.wso2.carbon.databridge.agent.thrift.internal.pool.client.secure
Class SecureClientPoolFactory
java.lang.Object
org.apache.commons.pool.BaseKeyedPoolableObjectFactory
org.wso2.carbon.databridge.agent.thrift.internal.pool.client.secure.SecureClientPoolFactory
- All Implemented Interfaces:
- org.apache.commons.pool.KeyedPoolableObjectFactory
public class SecureClientPoolFactory
- extends org.apache.commons.pool.BaseKeyedPoolableObjectFactory
| Methods inherited from class org.apache.commons.pool.BaseKeyedPoolableObjectFactory |
activateObject, destroyObject, passivateObject |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecureClientPoolFactory
public SecureClientPoolFactory(String trustStore,
String trustStorePassword)
makeObject
public org.wso2.carbon.databridge.commons.thrift.service.secure.ThriftSecureEventTransmissionService.Client makeObject(Object key)
throws AgentSecurityException,
org.apache.thrift.transport.TTransportException
- Specified by:
makeObject in interface org.apache.commons.pool.KeyedPoolableObjectFactory- Specified by:
makeObject in class org.apache.commons.pool.BaseKeyedPoolableObjectFactory
- Throws:
AgentSecurityException
org.apache.thrift.transport.TTransportException
validateObject
public boolean validateObject(Object key,
Object obj)
- Specified by:
validateObject in interface org.apache.commons.pool.KeyedPoolableObjectFactory- Overrides:
validateObject in class org.apache.commons.pool.BaseKeyedPoolableObjectFactory
Copyright © 2015 WSO2. All rights reserved.