Package org.ldaptive
Interface ConnectionFactoryMetadata
-
- All Known Implementing Classes:
AbstractProviderConnectionFactory.DefaultConnectionFactoryMetadata
public interface ConnectionFactoryMetadata
Interface to describe the state of the connection factory. Used byConnectionStrategy
to produce LDAP URLs.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getConnectionCount()
Returns the number of times the provider connection factory has created a connection.String
getLdapUrl()
Returns the LDAP URL the provider connection factory is using.
-
-
-
Method Detail
-
getLdapUrl
String getLdapUrl()
Returns the LDAP URL the provider connection factory is using. May be space delimited for multiple URLs.- Returns:
- ldap url
-
getConnectionCount
int getConnectionCount()
Returns the number of times the provider connection factory has created a connection.- Returns:
- connection count
-
-