This is correct, and AFAIK Weld does this.
On 25 Nov 2010, at 22:51, Mark Struberg wrote:
Hi folks!
I have the following situation and couldn't find a _clear_ answer to my question
(various hints, but as I said: not really clear):
class CodiConfig
@Specializes
class Jsf1CodiConfig extends CodiConfig
@Specializes
class Jsf2CodiConfig extends Jsf1CodiConfig
If I
@Inject CodiConfig cc;
is it well defined in the spec that I must get Jsf2CodiConfig?
Imo it should be, but before I 'fix' this in OWB, I need an ok that this
transitive behaviour is conform with the spec. And of course that Weld is behaving in the
same way ;)
txs and LieGrue,
strub
_______________________________________________
weld-dev mailing list
weld-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/weld-dev