[jboss-jira] [JBoss JIRA] (WFCORE-236) Refactor FileSystemDeploymentService.scan
Brian Stansberry (JIRA)
issues at jboss.org
Sun Nov 9 19:55:29 EST 2014
Brian Stansberry created WFCORE-236:
---------------------------------------
Summary: Refactor FileSystemDeploymentService.scan
Key: WFCORE-236
URL: https://issues.jboss.org/browse/WFCORE-236
Project: WildFly Core
Issue Type: Task
Components: Domain Management
Reporter: Brian Stansberry
FileSystemDeploymentService.scan needs to be refactored.
It's currently handling 3 separate cases: one-off-scan during boot, normal scan, and post-boot "forced-undeploy" scan. Internally it has a lot of "if" logic to discriminate behavior between the three.
Most of the shared logic between the three is one chunk of code that deals with executing the tasks that are identified. So look into factoring that part out and then creating a separate method for the "forced-undeploy" stuff. Also check if some of the stuff in the "finally" block can move to a finally block in the oneOffScan method.
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
More information about the jboss-jira
mailing list