"alesj" wrote : "kabir.khan(a)jboss.com" wrote :
| | I've done this. This differs from the bean-level qualifiers in that if a
qualifier exists on an injection point, then the bean-level qualifiers are ignored, so the
property level ones completely override the bean level ones e.g.
| |
| I would actually go the other way - I wouldn't ignore higher level qualifiers by
default.
| e.g. @Inject(ignoreOtherQualifiers=true)
|
ok, I can make that configurable
"alesj" wrote :
| An idea, perhaps we could even add an injection-point type to a qualifier.
| e.g. <qualifier type="default" injection-point="ctor,
property">
| Which would mean this qualifier is only used for ctors and properties, but not methods
and fields.
|
I like that idea
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267649#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...