org.apache.directory.server.dns.store
Class JndiRecordStoreImpl

java.lang.Object
  extended by org.apache.directory.server.dns.store.JndiRecordStoreImpl
All Implemented Interfaces:
RecordStore

public class JndiRecordStoreImpl
extends java.lang.Object
implements RecordStore

A JNDI-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.

Version:
$Rev: 434437 $, $Date: 2006-08-24 19:12:52 +0200 (Thu, 24 Aug 2006) $
Author:
Apache Directory Project

Constructor Summary
JndiRecordStoreImpl(DnsConfiguration config, javax.naming.spi.InitialContextFactory factory)
           
 
Method Summary
 java.util.Set getRecords(QuestionRecord question)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JndiRecordStoreImpl

public JndiRecordStoreImpl(DnsConfiguration config,
                           javax.naming.spi.InitialContextFactory factory)
Method Detail

getRecords

public java.util.Set getRecords(QuestionRecord question)
                         throws java.lang.Exception
Specified by:
getRecords in interface RecordStore
Throws:
java.lang.Exception


Copyright © 2003-2012 Apache Software Foundation. All Rights Reserved.