public class JndiRecordStoreImpl extends Object implements RecordStore
| Constructor and Description |
|---|
JndiRecordStoreImpl(String catalogBaseDn,
String searchBaseDn,
org.apache.directory.server.core.api.DirectoryService directoryService)
Creates a new instance of JndiRecordStoreImpl.
|
| Modifier and Type | Method and Description |
|---|---|
Set<ResourceRecord> |
getRecords(QuestionRecord question)
Returns a set of
ResourceRecords, given a DNS QuestionRecord. |
public JndiRecordStoreImpl(String catalogBaseDn, String searchBaseDn, org.apache.directory.server.core.api.DirectoryService directoryService)
catalogBaseDn - base of catalog of searchDnssearchBaseDn - single search base for when there is no catalogdirectoryService - DirectoryService backend for the searches.public Set<ResourceRecord> getRecords(QuestionRecord question) throws DnsException
RecordStoreResourceRecords, given a DNS QuestionRecord.
If something bad happens throw the accurate DnsExceptiongetRecords in interface RecordStoreResourceRecords.DnsExceptionCopyright © 2003–2017 The Apache Software Foundation. All rights reserved.