wow, cool.
So in that case injecting it as a property of my bean will give the same value as
injecting it as a parameter of a lifecycle method call. The difference I guess is limited
to the potential for concurrent execution.
In the case of injection as a bean property, the lifecycles must be strictly serial
ordered. Whereas, with lifecycle method parameter injection, the bean on which the
injection is occurring can go through any of the lifecycle phases before the one for which
it requires the injected parameter, concurrently with the lifecycle of the bean that will
be injected.
Is that right? Does MC actually use or plan to use concurrent startup to speed things up?
If so, there is potential advantage in sticking with parameter injection rather than
injecting it as a property on my bean.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4152425#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...