docs: @SuppressWarnings("deprecation")
      public static EmbeddedServerReference createHostController(ModuleLoader moduleLoader, File jbossHomeDir, String[] cmdargs) {
          EmbeddedManagedProcess emp = EmbeddedProcessFactory.createHostController(moduleLoader, jbossHomeDir, cmdargs);
          return new EmbeddedServerReference(emp, true);
      }