Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-6525

the usage of DeploymentManger should be independent of isCopyContent

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: JBossAS-5.1.0.Beta1
    • Component/s: None
    • Labels:
      None

      Description

      The usage of DeploymentManager should be

      deploymentManager.distribute(name, isCopyContent);
      deploymentManager.start(name);
      deploymentManager.stop(name);
      deploymentManager.remove(name);

      instead of:

      DeploymentProgress distribute = getDeploymentManager().distribute(name, getManagedURL(name), copyCon
      tent);
      distribute.run();

      if (copyContent)
      {
      DeploymentProgress start = getDeploymentManager().start(name);
      start.run();
      }

      DeploymentProgress stop = getDeploymentManager().stop(names);
      stop.run();

      if (copyContent)
      {
      DeploymentProgress undeploy = getDeploymentManager().undeploy(names);
      undeploy.run();
      }

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  emuckenhuber Emanuel Muckenhuber
                  Reporter:
                  emuckenhuber Emanuel Muckenhuber
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: