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

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • JBossAS-5.1.0.Beta1
    • None
    • None
    • None

      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();
      }

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

              Created:
              Updated:
              Resolved: