This content has been marked as final.
Show 3 replies
-
1. Re: DependencyInfo.removeDependsOnMe never called
thomas.diesler Sep 18, 2009 4:45 AM (in response to thomas.diesler)I added this to
Module.removeIDependOn// Remove the DependsOnMe part of this item Object iDependOn = item.getIDependOn(); if (iDependOn != null) { Module otherModule = domain.getModule(iDependOn.toString()); DependencyInfo otherDependencyInfo = otherModule.getControllerContext().getDependencyInfo(); otherDependencyInfo.removeDependsOnMe(item); }
-
2. Re: DependencyInfo.removeDependsOnMe never called
thomas.diesler Sep 18, 2009 4:48 AM (in response to thomas.diesler)This code makes certain assumptions
#1 The iDependOn.toString() is the name of the module
#2 The other module still exists in the ControllerContext
Please verify these assumptions or perhaps this can be done in another way -
3. Re: DependencyInfo.removeDependsOnMe never called
alesj Sep 18, 2009 6:13 AM (in response to thomas.diesler)Old discussion about this:
- http://www.jboss.org/index.html?module=bb&op=viewtopic&t=101389