コード例 #1
0
  public ProductVariables getProductVariables() {
    ProductUrlGeneratorUtil productUrlGeneratorUtil = new ProductUrlGeneratorUtil();
    this.properties = new ProductUrlGeneratorUtil().getStream();

    productVariables.setProductVariables(
        this.managerHostName,
        this.managerHttpPort,
        this.managerHttpsPort,
        this.managerWebContextRoot,
        this.managerQpidPort,
        productUrlGeneratorUtil.getBackendUrl(
            managerHttpsPort, managerHostName, managerWebContextRoot));
    return productVariables;
  }
コード例 #2
0
  public WorkerVariables getWorkerVariables() {
    ProductUrlGeneratorUtil productUrlGeneratorUtil = new ProductUrlGeneratorUtil();
    this.properties = new ProductUrlGeneratorUtil().getStream();

    if (environmentBuilder.getFrameworkSettings().getEnvironmentSettings().isClusterEnable()) {

      workerVariables.setWorkerVariables(
          this.managerHostName,
          this.managerHttpPort,
          this.managerHttpsPort,
          this.managerWebContextRoot,
          this.managerQpidPort,
          productUrlGeneratorUtil.getBackendUrl(
              managerHttpsPort, managerHostName, managerWebContextRoot));
    }
    return workerVariables;
  }