"kabir.khan(a)jboss.com" wrote :
| Maybe I should change 'Wanted' to 'Required'? We could add
'Optional' etc.
|
Yes, sounds good, both.
"kabir.khan(a)jboss.com" wrote :
| I am not sure if you are saying you think I should turn off the 'relaxed'
stuff shown above requiring exact matches?
|
Relaxed stuff should only work if "c" is "Optional".
If both are "Required" then here would be no match:
| <bean name="bean1" class="SomeBean">
| <!-- type='Supplied' by default on bean level -->
| <qualifier>a</qualifier>
| </bean>
| <bean name="bean2"class="SomeBean">
| </qualifier>b</qualifier>
| </bean>
| <bean name="bean3" class="OtherBean">
| <qualifier type="Wanted">a</qualifier>
| <qualifier type="Wanted">c</qualifier>
| </bean>
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267647#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...