public class JndiRecordStoreImpl extends Object implements RecordStore
Constructor and Description |
---|
JndiRecordStoreImpl(String catalogBaseDn,
String searchBaseDn,
DirectoryService directoryService)
Creates a new instance of JndiRecordStoreImpl.
|
Modifier and Type | Method and Description |
---|---|
Set<ResourceRecord> |
getRecords(QuestionRecord question)
Returns a set of
ResourceRecord s, given a DNS QuestionRecord . |
public JndiRecordStoreImpl(String catalogBaseDn, String searchBaseDn, 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
RecordStore
ResourceRecord
s, given a DNS QuestionRecord
.
If something bad happens throw the accurate DnsException
getRecords
in interface RecordStore
ResourceRecord
s.DnsException
Copyright © 2003–2023 The Apache Software Foundation. All rights reserved.