FileDocCategorySizeDatePackage
commands.javaAPI DocExample2010Thu Dec 15 21:14:14 GMT 2005com.oreilly.jent.jndi

commands

public class commands extends Object implements Command
commands: 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");