Package org.ldaptive

Interface ConnectionFactoryMetadata


  • public interface ConnectionFactoryMetadata
    Interface to describe the state of the connection factory. Used by ConnectionStrategy to produce LDAP URLs.
    • Method Detail

      • getLdapUrl

        String getLdapUrl()
        Returns the LDAP URL the connection factory is using. May be space delimited for multiple URLs.
        Returns:
        ldap url
      • getConnectionCount

        int getConnectionCount()
        Returns the number of times the connection factory has created a connection.
        Returns:
        connection count