[jboss-jira] [JBoss JIRA] Resolved: (JBAS-6525) the usage of DeploymentManger should be independent of isCopyContent

Emanuel Muckenhuber (JIRA) jira-events at lists.jboss.org
Sat Mar 7 04:34:22 EST 2009


     [ https://jira.jboss.org/jira/browse/JBAS-6525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emanuel Muckenhuber resolved JBAS-6525.
---------------------------------------

    Fix Version/s: JBossAS-6.0.0.Alpha1
       Resolution: Done


> 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.Beta1, 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

        



More information about the jboss-jira mailing list