code: public static void uninstallModules() {
          for (Map.Entry<String, Module> o : INSTALLED_MODULES.entrySet()) {
              String moduleName = o.getKey();
              try {
                  if (LOGGER.isInfoEnabled()) {
                      LOGGER.info("Uninstall Module: {}", moduleName);
                  }
                  o.getValue().uninstall();
                  INSTALLED_MODULES.remove(moduleName);
              } catch (Exception e) {
                  if (LOGGER.isWarnEnabled()) {
                      LOGGER.warn("Error when uninstall module " + moduleName, e);
                  }
              }
          }
      }
docs: 卸载全部模块