org.apache.directory.server.protocol.shared.store
Interface ContextOperation

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
AddPrincipal, ChangePassword, DeletePrincipal, GetAllPrincipals, GetCatalog, GetFlatRecord, GetPrincipal, GetRecords

public interface ContextOperation
extends java.io.Serializable

Interface to support the command pattern with JNDI contexts.

Version:
$Rev: 434432 $, $Date: 2006-08-24 18:52:26 +0200 (Thu, 24 Aug 2006) $
Author:
Apache Directory Project

Method Summary
 java.lang.Object execute(javax.naming.directory.DirContext ctx, javax.naming.Name baseDn)
          The command pattern execute method.
 

Method Detail

execute

java.lang.Object 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:
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.