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

All Known Implementing Classes:
GetFlatRecord, GetRecords

public interface DnsOperation

Interface to support the command pattern with JNDI contexts.

Author:
Apache Directory Project

Method Summary
 Set<ResourceRecord> execute(DirContext ctx, Name baseDn)
          The command pattern execute method.
 

Method Detail

execute

Set<ResourceRecord> execute(DirContext ctx,
                            Name baseDn)
                            throws 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:
Exception - The exception thrown by the command


Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.