|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.server.dns.store.jndi.JndiRecordStoreImpl
public class JndiRecordStoreImpl
A DirectoryService-backed implementation of the RecordStore interface. This RecordStore uses the Strategy pattern to either serve records based on a single base DN or to lookup catalog mappings from directory configuration.
| Constructor Summary | |
|---|---|
JndiRecordStoreImpl(java.lang.String catalogBaseDn,
java.lang.String searchBaseDn,
DirectoryService directoryService)
Creates a new instance of JndiRecordStoreImpl. |
|
| Method Summary | |
|---|---|
java.util.Set<ResourceRecord> |
getRecords(QuestionRecord question)
Returns a set of ResourceRecords, given a DNS QuestionRecord. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JndiRecordStoreImpl(java.lang.String catalogBaseDn,
java.lang.String searchBaseDn,
DirectoryService directoryService)
catalogBaseDn - base of catalog of searchDnssearchBaseDn - single search base for when there is no catalogdirectoryService - DirectoryService backend for the searches.| Method Detail |
|---|
public java.util.Set<ResourceRecord> getRecords(QuestionRecord question)
throws DnsException
RecordStoreResourceRecords, given a DNS QuestionRecord.
If something bad happens throw the accurate DnsException
getRecords in interface RecordStoreResourceRecords.
DnsException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||