public class PoolableLdapConnectionFactory extends Object implements org.apache.commons.pool.PoolableObjectFactory
| Constructor and Description |
|---|
PoolableLdapConnectionFactory(LdapConnectionConfig config)
Creates a new instance of PoolableLdapConnectionFactory for the
server running on localhost at the port 10389
|
| Modifier and Type | Method and Description |
|---|---|
void |
activateObject(Object obj) |
void |
destroyObject(Object obj) |
Object |
makeObject() |
void |
passivateObject(Object obj) |
boolean |
validateObject(Object obj) |
public PoolableLdapConnectionFactory(LdapConnectionConfig config)
config - the configuration for creating LdapConnectionspublic void activateObject(Object obj) throws Exception
activateObject in interface org.apache.commons.pool.PoolableObjectFactoryExceptionpublic void destroyObject(Object obj) throws Exception
destroyObject in interface org.apache.commons.pool.PoolableObjectFactoryExceptionpublic Object makeObject() throws Exception
makeObject in interface org.apache.commons.pool.PoolableObjectFactoryExceptionpublic void passivateObject(Object obj) throws Exception
passivateObject in interface org.apache.commons.pool.PoolableObjectFactoryExceptionpublic boolean validateObject(Object obj)
validateObject in interface org.apache.commons.pool.PoolableObjectFactoryCopyright © 2009–2016 The Apache Software Foundation. All rights reserved.