Package org.ldaptive

Class SingleConnectionFactory

    • Field Detail

      • connection

        private Connection connection
        The connection used by this factory.
      • proxy

        private Connection proxy
        The proxy used by this factory.
      • initialized

        private boolean initialized
        Whether initialize() has been successfully invoked.
      • failFastInitialize

        private boolean failFastInitialize
        Whether initialize() should throw if the connection cannot be opened.
      • nonBlockingInitialize

        private boolean nonBlockingInitialize
        Whether initialize() should occur on a separate thread.
    • Constructor Detail

      • SingleConnectionFactory

        public SingleConnectionFactory()
        Default constructor.
      • SingleConnectionFactory

        public SingleConnectionFactory​(Transport t)
        Creates a new single connection factory.
        Parameters:
        t - transport
      • SingleConnectionFactory

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

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

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

        public SingleConnectionFactory​(ConnectionConfig cc,
                                       Transport t)
        Creates a new single connection factory.
        Parameters:
        cc - connection configuration
        t - transport