code: public int dispatchCommand(Object pVm,VirtualMachineHandler pHandler) throws InvocationTargetException, NoSuchMethodException, IllegalAccessException {
          String commandName = options.getCommand();
          AbstractBaseCommand command = COMMANDS.get(commandName);
          if (command == null) {
              throw new IllegalArgumentException("Unknown command '" + commandName + "'");
          }
          return command.execute(options,pVm,pHandler);
      }
docs: Dispatch the command
  
  @param pVm the virtual machine to attach to (typeless in order avoid direct references to the sun classes)
  @param pHandler  handler for listing processes
  @return the return code (0 or 1)