Class DefaultPoolableLdapConnectionFactory

  • All Implemented Interfaces:
    org.apache.commons.pool2.PooledObjectFactory<LdapConnection>

    public class DefaultPoolableLdapConnectionFactory
    extends AbstractPoolableLdapConnectionFactory
    A factory for creating LdapConnection objects managed by LdapConnectionPool. The connections are not validated when they are pulled from the pool : we just check if they are still connected, using their internal flag. We don't either re-bind when we push back the connection into the pool.
    It's up to the users to be careful with the way they deal with connections -especially when using the StartTLS extended operation -.
    Author:
    Apache Directory Project