org.apache.directory.server.dns.store.operations
Class GetRecords

java.lang.Object
  extended by org.apache.directory.server.dns.store.operations.GetRecords
All Implemented Interfaces:
java.io.Serializable, ContextOperation

public class GetRecords
extends java.lang.Object
implements ContextOperation

A JNDI context operation for looking up Resource Records from an embedded JNDI provider.

Version:
$Rev: 493916 $, $Date: 2007-01-08 03:44:33 +0100 (Mon, 08 Jan 2007) $
Author:
Apache Directory Project
See Also:
Serialized Form

Constructor Summary
GetRecords(QuestionRecord question)
          Creates the action to be used against the embedded JNDI provider.
 
Method Summary
 java.lang.Object execute(javax.naming.directory.DirContext ctx, javax.naming.Name base)
          Note that the base is a relative path from the exiting context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetRecords

public GetRecords(QuestionRecord question)
Creates the action to be used against the embedded JNDI provider.

Method Detail

execute

public java.lang.Object execute(javax.naming.directory.DirContext ctx,
                                javax.naming.Name base)
                         throws java.lang.Exception
Note that the base is a relative path from the exiting context. It is not a DN.

Specified by:
execute in interface ContextOperation
Parameters:
ctx - The context to execute the command with
base - The base DN for working with the context
Returns:
Object The result returned by the command
Throws:
java.lang.Exception - The exception thrown by the command


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