FileDocCategorySizeDatePackage
exit.javaAPI DocExample1649Thu Dec 15 21:15:26 GMT 2005com.oreilly.jent.jndi

exit

public class exit extends Object implements Command
exit: Command to exit the NamingShell.

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

    
          
          
        System.out.println("Exiting");
        System.exit(0);
    
public voidhelp()

        System.out.println("Usage: exit");