[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Wrong check in DeployersImpl.checkControllerContext()
alesj
do-not-reply at jboss.com
Fri Jul 10 10:51:36 EDT 2009
Yeah, that looks wrong.
As why should item's whenRequired have anything to do with dependency's state.
I think it should be
| ControllerState requiredState = item.getDependentState();
| if (actualState == null || states.isBeforeState(actualState, requiredState))
|
But this breaks a few tests, hence I need to check if I'm really thinking straight. :-)
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4242914#4242914
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4242914
More information about the jboss-dev-forums
mailing list