-
Enhancement
-
Resolution: Done
-
Minor
-
None
-
None
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.
- is related to
-
WFLY-6895 TimerService problem(duplicated resource)
- Closed
- relates to
-
WFCORE-1269 Resource passed into RootDeploymentUnitService is decoupled from official model
- Resolved