[jboss-jira] [JBoss JIRA] Created: (JBMICROCONT-175) Move incomplete deployment checking into MainDeployer

Scott M Stark (JIRA) jira-events at lists.jboss.org
Thu Apr 5 12:29:58 EDT 2007


Move incomplete deployment checking into MainDeployer
-----------------------------------------------------

                 Key: JBMICROCONT-175
                 URL: http://jira.jboss.com/jira/browse/JBMICROCONT-175
             Project: JBoss MicroContainer
          Issue Type: Feature Request
    Affects Versions:  JBossMC_2_0_0 Beta3
            Reporter: Scott M Stark
             Fix For: JBossMC_2_0_0_CR1


Currently all users of the MainDeployer.process have to externally code something like:

   protected void checkIncomplete() throws DeploymentException
   {
      IncompleteDeployments incomplete = IncompleteDeploymentsBuilder.build(mainDeployer, controller);
      if (incomplete.isIncomplete())
         throw new IncompleteDeploymentException(incomplete);
   }

to see if the last process has any deployments in an incomplete state. It would be better if this logic was passed in as a listener with helper implementations for the typical check to avoid this duplication and need to inject kernel controller.
 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list