Interface LdapConnectionValidator
-
- All Known Implementing Classes:
DefaultLdapConnectionValidator,LookupLdapConnectionValidator
public interface LdapConnectionValidatorAn LdapConnection validator intended to be used by a GenericObjectPool to determine whether or not a conneciton is still usable.- Author:
- Apache Directory Project
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanvalidate(LdapConnection ldapConnection)Return true if the connection is still valid.
-
-
-
Method Detail
-
validate
boolean validate(LdapConnection ldapConnection)
Return true if the connection is still valid. This means that if this connections is handed out to a user, it should allow for successful communication with the server.- Parameters:
ldapConnection- The connection to test- Returns:
- True, if the connection is still valid
-
-