[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: DependencyInfo remove items
adrian@jboss.org
do-not-reply at jboss.com
Wed Feb 14 08:03:24 EST 2007
For the dependsOnMe is being maintained properly.
Again, this probably doesn't matter, since it is only used when you remove a context.
See ControllerContext.uninstall()
IIRC the reason I don't maintain it is because the only place to do so
could be too early. i.e. in the DependencyItem.resolve() implementations.
If we removed it at that point, we have only just determined that the dependency
is no longer resolved, the controller hasn't had chance to act on that information
yet and so the uninstall() may not work correctly?
It is certainly something that we should look at tidying up.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016353#4016353
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016353
More information about the jboss-dev-forums
mailing list