[jboss-jira] [JBoss JIRA] (WFCORE-1272) Clean the deployment Resource in RootDeploymentUnitService's stop() method
Brian Stansberry (JIRA)
issues at jboss.org
Wed Jan 6 10:31:00 EST 2016
Brian Stansberry created WFCORE-1272:
----------------------------------------
Summary: Clean the deployment Resource in RootDeploymentUnitService's stop() method
Key: WFCORE-1272
URL: https://issues.jboss.org/browse/WFCORE-1272
Project: WildFly Core
Issue Type: Enhancement
Components: Domain Management, Server
Reporter: Brian Stansberry
Assignee: Brian Stansberry
Priority: Minor
DUPs can modify the Resource associated with a deployment in their deploy method, and should, by the DUP contract, reverse that change in undeploy. Scott's WFLY-4908 fix does this, and is good as it means the behavior is correct per the DUP contract.
But as a second line of defense, RootDeploymentUnitService's stop method can clean up the deployment resource using DeploymentResourceSupport.cleanup. This will ensure that if the service is stopped by MSC without an undeploy or redeploy mgmt op being involved, if the service is started again the deployment resource will be back in the state it was when the RDUS was first constructed.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list