"jaikiran" wrote : "alesj" wrote :
| | If you wanted this, it would mean you would have to express all your
| | "unrelated" dependencies, hence making it *related*. :-)
| |
| Not sure i understand this - the BMD being installed (Bean2) has all the related
dependencies defined within itself. And those dependencies are *not* on Bean3 or any other
contexts.
|
You don't know if it's really (un)related until you tried it.
How else would you know that beanX is not related to beanY
unless you tried to push beanY past some state or by inspecting all dependencies out
there.
"jaikiran" wrote :
| Since proxyfactory and the other contexts are unrelated and independent, i would have
expected no state change on other beans when proxyfactory is installed thus avoiding this
recursion on the same method.
|
This is by design, we try to move anything until something previously still moved.
The recursion shouldn't be too big, since if bean has no real dependencies,
it's moved to installed on first attempt, hence not hugely involved anymore in context
state changing/checking.
And 300+ should be the number we can handle ...
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4219882#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...