org.apache.directory.server.dns.store.jndi
Interface DnsOperation

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
GetFlatRecord, GetRecords

public interface DnsOperation
extends java.io.Serializable

Interface to support the command pattern with JNDI contexts.

Version:
$Rev: 437023 $, $Date: 2006-08-25 16:50:47 -0700 (Fri, 25 Aug 2006) $
Author:
Apache Directory Project

Method Summary
 java.util.Set<ResourceRecord> execute(javax.naming.directory.DirContext ctx, javax.naming.Name baseDn)
          The command pattern execute method.
 

Method Detail

execute

java.util.Set<ResourceRecord> execute(javax.naming.directory.DirContext ctx,
                                      javax.naming.Name baseDn)
                                      throws java.lang.Exception
The command pattern execute method.

Parameters:
ctx - The context to execute the command with
baseDn - The base DN for working with the context
Returns:
Set 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.