[
http://jira.jboss.com/jira/browse/JBMICROCONT-175?page=all ]
Adrian Brock closed JBMICROCONT-175.
------------------------------------
Resolution: Done
Assignee: Adrian Brock
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
Assigned To: Adrian Brock
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