FileDocCategorySizeDatePackage
commands.javaAPI DocExample1360Wed Apr 05 11:25:42 BST 2000None

commands

public class commands extends Object implements Command
commands.java The commands command prints out the known commands for NamingShell.

Fields Summary
String
COMMAND_NAME
Hashtable
commands
Constructors Summary
Methods Summary
public voidexecute(javax.naming.Context currentContext, java.util.Vector args)

    
          
          
        
        System.out.println("Known commands: ");
        Enumeration names = commands.elements();
        while (names.hasMoreElements())
            System.out.println(((Command)
                names.nextElement()).getClass().getName());
        System.out.println();
    
public voidhelp()

 System.out.print("Usage: commands");