/**
  * 部署World服务
  *
  * @throws Exception
  */
 public void deployServer(
     HttpServletResponse response, BeanInterface beanInterface, HttpSession session) {
   try {
     SshExecutorUtils.deployEachServer(
         response, beanInterface, this, Global.CONFIG_WORLD_PROPERTIES, session);
   } catch (Exception e) {
     e.printStackTrace();
   }
 }
 /**
  * 更新World服务
  *
  * @throws Exception
  */
 public void updateServer(
     HttpServletResponse response, BeanInterface beanInterface, HttpSession session)
     throws Exception {
   String updateResult = "";
   WorldServer worldServer = (WorldServer) beanInterface;
   updateResult = SshExecutorUtils.updateEachServer(worldServer, session);
   if (updateResult.equals("success")) {
     System.out.println("更新成功~~!");
     worldServer.setUpdateTime(new Date());
     this.merge(worldServer);
     response.getWriter().write("success");
   } else {
     response.getWriter().write(updateResult);
   }
 }