[weld-dev] Is @Specializes transitive?

Mark Struberg struberg at yahoo.de
Thu Nov 25 17:51:40 EST 2010


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



      


More information about the weld-dev mailing list