the usage of DeploymentManger should be independent of isCopyContent
--------------------------------------------------------------------
Key: JBAS-6525
URL:
https://jira.jboss.org/jira/browse/JBAS-6525
Project: JBoss Application Server
Issue Type: Task
Security Level: Public (Everyone can see)
Reporter: Emanuel Muckenhuber
Assignee: Emanuel Muckenhuber
Fix For: JBossAS-5.1.0.CR1, JBossAS-6.0.0.Alpha1
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();
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira