[jboss-dev-forums] [JBoss Microcontainer Development] - Re: Supporting qualifiers in MC

alesj do-not-reply at jboss.com
Tue Nov 17 11:35:58 EST 2009


"kabir.khan at jboss.com" wrote : 
  | And there is a bean in the controller of type Something, but it does not supply @Test? I think coarse-grained needs to work slightly differently from fine-grained. Fine-grained needs a bean with all the qualifiers specified at the injection point. Coarse-grained needs a bean with as many as possible of the qualifiers specified at bean level.
  | 
We just need to make sure we have exact rules, whatever those might be.
The stuff we discussed could be categorized as pseudo. :-)

I guess the real examples and commons sense will flush those rules out.

"kabir.khan at jboss.com" wrote : 
  | When looking into this, I noticed that AbstractInjectionValueMetaData takes the LookupStrategy into account when searching for the context, while the SearchClassContextDependencyItem does not appear to do so.
  | 
Could be an oversight.


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266141#4266141

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266141



More information about the jboss-dev-forums mailing list