|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.ldap.client.api.PoolableLdapConnectionFactory
public class PoolableLdapConnectionFactory
A factory for creating LdapConnection objects managed by LdapConnectionPool.
| Constructor Summary | |
|---|---|
PoolableLdapConnectionFactory(LdapConnectionConfig config)
Creates a new instance of PoolableLdapConnectionFactory for the server running on localhost at the port 10389 |
|
| Method Summary | |
|---|---|
void |
activateObject(Object obj)
|
void |
destroyObject(Object obj)
|
Object |
makeObject()
|
void |
passivateObject(Object obj)
|
boolean |
validateObject(Object obj)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PoolableLdapConnectionFactory(LdapConnectionConfig config)
config - the configuration for creating LdapConnections| Method Detail |
|---|
public void activateObject(Object obj)
throws Exception
activateObject in interface org.apache.commons.pool.PoolableObjectFactoryException
public void destroyObject(Object obj)
throws Exception
destroyObject in interface org.apache.commons.pool.PoolableObjectFactoryException
public Object makeObject()
throws Exception
makeObject in interface org.apache.commons.pool.PoolableObjectFactoryException
public 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.PoolableObjectFactory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||