[cdi-dev] [JBoss JIRA] (CDI-407) Specifiy @Named @Alternatives
Thomas Andraschko (JIRA)
jira-events at lists.jboss.org
Fri Nov 15 13:36:05 EST 2013
Thomas Andraschko created CDI-407:
-------------------------------------
Summary: Specifiy @Named @Alternatives
Key: CDI-407
URL: https://issues.jboss.org/browse/CDI-407
Project: CDI Specification Issues
Issue Type: Clarification
Components: Beans, Inheritance and Specialization
Environment: It's actually a must-have for product development and a common case.
We would like to have multiple implementations in our core and just activate them via alternative.
I talked with struberg and its currently not defined in the specs.
e.g.
@Named public class A
@Named @Alternative public class B extends A
What should acutally happen if B is activated via beans.xml?
IMO B should be available in EL via "a" and "b".
Reporter: Thomas Andraschko
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the cdi-dev
mailing list