Hi,
Best regards,- CDI-407: Specify @Named @AlternativesThis is really annoying as this interfaces are just overhead and actually senseless for us.CDI and JSF is really doing a great job here but i found 2 really annoying issues which could be improved:Hi,we have a big product with many subproducts/projects and customizations for some customers.
- CDI-224: Allow decoration on classes, not only on interfaces
We created many interfaces the last months for our beans just to get decoration working
Currently its not defined what should happen if a alternative has a @Named and is activated via beans.xml in the current app:@Named public class A
@Named @Alternative public class B extends Aor even something like:
@Named public class A
@Specializes public class B extends A
@Named @Alternative public class B2 extends BThis are really important issues for standard cases.
IMO B and B2 should also be available via EL "a".
It would be great to see it in CDI 2.0.
Thomas