Exemplo n.º 1
0
 public CommandExecutor(CliGuiContext cliGuiCtx) {
   this.cliGuiCtx = cliGuiCtx;
   this.cmdCtx = cliGuiCtx.getCommmandContext();
   this.client = cmdCtx.getModelControllerClient();
   Runtime.getRuntime().addShutdownHook(new Thread(new ClientCloserShutdownHook()));
 }