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

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • JBossAS-5.1.0.Beta1
    • None
    • None
    • 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();
      }

      Attachments

        Issue Links

          Activity

            People

              emuckenhuber_jira Emanuel Muckenhuber (Inactive)
              emuckenhuber_jira Emanuel Muckenhuber (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: