Package org.ldaptive

Class DefaultConnectionFactory

    • Field Detail

      • logger

        protected final Logger logger
        Logger for this class.
      • transport

        private Transport transport
        Transport used by this factory.
      • config

        private ConnectionConfig config
        Connection configuration used by this factory.
    • Constructor Detail

      • DefaultConnectionFactory

        public DefaultConnectionFactory()
        Default constructor.
      • DefaultConnectionFactory

        public DefaultConnectionFactory​(Transport t)
        Creates a new default connection factory. Be sure to invoke close() if the supplied transport has resources to cleanup.
        Parameters:
        t - transport
      • DefaultConnectionFactory

        public DefaultConnectionFactory​(String ldapUrl)
        Creates a new default connection factory.
        Parameters:
        ldapUrl - to connect to
      • DefaultConnectionFactory

        public DefaultConnectionFactory​(String ldapUrl,
                                        Transport t)
        Creates a new default connection factory. Be sure to invoke close() if the supplied transport has resources to cleanup.
        Parameters:
        ldapUrl - to connect to
        t - transport
      • DefaultConnectionFactory

        public DefaultConnectionFactory​(ConnectionConfig cc)
        Creates a new default connection factory.
        Parameters:
        cc - connection configuration
      • DefaultConnectionFactory

        public DefaultConnectionFactory​(ConnectionConfig cc,
                                        Transport t)
        Creates a new default connection factory. Be sure to invoke close() if the supplied transport has resources to cleanup.
        Parameters:
        cc - connection configuration
        t - transport