Package org.ldaptive

Class PooledConnectionFactory

All Implemented Interfaces:
ConnectionFactory, ConnectionPool

public class PooledConnectionFactory extends BlockingConnectionPool implements ConnectionFactory
Creates connections for performing ldap operations and manages those connections as a pool.
  • Field Details

    • validationExceptionHandler

      private ValidationExceptionHandler validationExceptionHandler
      Validation exception handler. Default implementation retries once.
  • Constructor Details

    • PooledConnectionFactory

      public PooledConnectionFactory()
      Default constructor.
    • PooledConnectionFactory

      public PooledConnectionFactory(Transport t)
      Creates a new pooled connection factory.
      Parameters:
      t - transport
    • PooledConnectionFactory

      public PooledConnectionFactory(String ldapUrl)
      Creates a new pooled connection factory.
      Parameters:
      ldapUrl - to connect to
    • PooledConnectionFactory

      public PooledConnectionFactory(String ldapUrl, Transport t)
      Creates a new pooled connection factory.
      Parameters:
      ldapUrl - to connect to
      t - transport
    • PooledConnectionFactory

      public PooledConnectionFactory(ConnectionConfig cc)
      Creates a new pooled connection factory.
      Parameters:
      cc - connection configuration
    • PooledConnectionFactory

      public PooledConnectionFactory(ConnectionConfig cc, Transport t)
      Creates a new pooled connection factory.
      Parameters:
      cc - connection configuration
      t - transport
  • Method Details