1. /*
  2. * @(#)CommandHandler.java 1.14 03/12/19
  3. *
  4. * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package com.sun.corba.se.impl.activation;
  8. import org.omg.CORBA.ORB;
  9. import java.io.PrintStream;
  10. /**
  11. * @version 1.14, 04/09/15
  12. * @author Rohit Garg
  13. * @since JDK1.2
  14. */
  15. public interface CommandHandler
  16. {
  17. String getCommandName();
  18. public final static boolean shortHelp = true;
  19. public final static boolean longHelp = false;
  20. void printCommandHelp(PrintStream out, boolean helpType);
  21. public final static boolean parseError = true;
  22. public final static boolean commandDone = false;
  23. boolean processCommand(String[] cmd, ORB orb, PrintStream out);
  24. }