public class SingleBaseSearch extends java.lang.Object implements SearchStrategy
| Modifier and Type | Field and Description |
|---|---|
private javax.naming.directory.DirContext |
ctx |
private static org.slf4j.Logger |
LOG
the LOG for this class
|
| Constructor and Description |
|---|
SingleBaseSearch(java.lang.String searchBaseDn,
DirectoryService directoryService) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<ResourceRecord> |
getRecords(QuestionRecord question)
Returns a set of
ResourceRecords, given a DNS QuestionRecord. |
private static final org.slf4j.Logger LOG
private final javax.naming.directory.DirContext ctx
SingleBaseSearch(java.lang.String searchBaseDn,
DirectoryService directoryService)
public java.util.Set<ResourceRecord> getRecords(QuestionRecord question) throws DnsException
SearchStrategyResourceRecords, given a DNS QuestionRecord.getRecords in interface SearchStrategyResourceRecords.DnsException