directory-api mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Seelmann <>
Subject Re: LdapConnectionPool.getConnection doing extraneous search?
Date Mon, 22 Mar 2021 19:21:49 GMT
Would a Java Dynamic Proxy help?

It would implement the LdapConnection interface.

When a method is invoked it borrows a connection from the pool (without
testing it), executes the method, returns the connection to the pool,
and returns the result.

When the method execution fails with a specific error (connection error)
it invalidates the object in the pool, borrows a new one, and retries.

Kind Regards,

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message