Interface DirContextValidator
- All Known Implementing Classes:
DefaultDirContextValidator
public interface DirContextValidator
A validator for
DirContexts.-
Method Summary
Modifier and TypeMethodDescriptionbooleanvalidateDirContext(DirContextType contextType, DirContext dirContext) Validates theDirContext.
-
Method Details
-
validateDirContext
Validates theDirContext. A validDirContextshould be able to answer queries and if applicable write to the directory.- Parameters:
contextType- The type of theDirContext, refers to ifContextSource.getReadOnlyContext()orContextSource.getReadWriteContext()was called to create theDirContextdirContext- TheDirContextto validate.- Returns:
trueif theDirContextoperated correctly during validation.
-