Package com.google.apphosting.utils.config

Examples of com.google.apphosting.utils.config.WebModule


   */
  private synchronized void checkEnvironmentVariables() {
    EnvironmentVariableChecker environmentVariableChecker =
        new EnvironmentVariableChecker(environmentVariableMismatchReportingPolicy);
    for (ModuleConfigurationHandle moduleConfigurationHandle : moduleConfigurationHandles) {
      WebModule module = moduleConfigurationHandle.getModule();
      environmentVariableChecker.add(module.getAppEngineWebXml(), module.getAppEngineWebXmlFile());
    }
    environmentVariableChecker.check();
  }
View Full Code Here


          String message = String.format("Unsupported update from WAR to EAR for: %s",
              configurationRoot.getAbsolutePath());
          LOGGER.severe(message);
          throw new AppEngineConfigException(message);
        }
        WebModule updatedWebModule = EarHelper.readWebModule(null, configurationRoot,
            rawAppEngineWebXmlLocation, rawWebXmlLocation, appIdPrefix);
        if (webModule != null) {
          checkDynamicModuleUpdateAllowed(webModule, updatedWebModule);
        }
        webModule = updatedWebModule;
View Full Code Here

      Map<File, WebModule> updatedModuleMap = getUpdatedModuleMap(updatedEarInfo);

      checkWarDirectoriesMatch(currentModuleMap.keySet(), updatedModuleMap.keySet());

      for (File currentWarFile : currentModuleMap.keySet()) {
        WebModule currentModule = currentModuleMap.get(currentWarFile);
        WebModule updatedModule = updatedModuleMap.get(currentWarFile);
        checkDynamicModuleUpdateAllowed(currentModule, updatedModule);
      }
    }
View Full Code Here

TOP

Related Classes of com.google.apphosting.utils.config.WebModule

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.