Command.javaAPI DocExample1292Wed Apr 05 11:25:42 BST 2000None


public interface Command Defines the behavior of a NamingShell command. The method execute(Context, Vector) is how the NamingShell executes the command. The Context parameter represents the Context the command operates upon, and the Vector packages up any data necessary. Any data that the command returns to the NamingShell is required to use a NamingShell accessor method. Any unrecoverable error that a Command encounters should cause the Command to throw a CommandException, and the shell will handle it gracefully.

Fields Summary
Constructors Summary
Methods Summary
public voidexecute(javax.naming.Context c, java.util.Vector v)

public voidhelp()