[jboss-user] [JBoss Microcontainer Development] New message: "Re: Uninstall OnDemand context if there are no more dependen"

Kabir Khan do-not-reply at jboss.com
Thu Jan 28 14:19:21 EST 2010


User development,

A new message was posted in the thread "Uninstall OnDemand context if there are no more dependencies":

http://community.jboss.org/message/522845#522845

Author  : Kabir Khan
Profile : http://community.jboss.org/people/kabir.khan@jboss.com

Message:
--------------------------------------------------------------
Looking at http://community.jboss.org/message/522801#522801 I discovered that the uninstall is checking the wrong thing. 
When iterating over dependsOnMe instead of calling getContext() which checks the current controller and the parent for the reverse dependency, we should be calling getContexts(Object name, Set<ControllerContext) which checks the current controller and children, since the reverse dependencies can not come from a parent.
https://jira.jboss.org/jira/browse/JBKERNEL-85

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/522845#522845




More information about the jboss-user mailing list