Martin Kouba thanks. I've read all comments below CDI 408. Antoine Sabot-Durand, thank you, at least you were fighting. The only thing I have right now in my head is:
This is Madness! Madness? This is CDI !!!
I'm devastated by the people stupidity... This is madness that CDI 1.2 spec, chapter 3.3.2 shows everybody the following snippet:
public class Shop {
|
@Produces PaymentProcessor getPaymentProcessor() { ... }
|
@Produces List<Product> getProducts() { ... }
|
}
|
I give up. I'm running away from CDI as quick as I can. I never ever gonna use any of its implementation. I'll never accept any job offer, where I would have to work with Weld/ CDI. Never ever.
|