[cdi-dev] [JBoss JIRA] (CDI-303) Clarify declaring selected alternatives for an application
Martin Kouba (JIRA)
jira-events at lists.jboss.org
Thu Nov 22 05:12:21 EST 2012
Martin Kouba created CDI-303:
--------------------------------
Summary: Clarify declaring selected alternatives for an application
Key: CDI-303
URL: https://issues.jboss.org/browse/CDI-303
Project: CDI Specification Issues
Issue Type: Clarification
Reporter: Martin Kouba
It's not clear whether an alternative with a default priority but not selected for an application is selected for the bean archive whose beans.xml declares it.
The spec states:
{quote}
An alternative may be given a default priority, but not selected for an application using the <alternatives> element of the beans.xml file of the bean archive. The <alternatives> element contains a list of bean classes and stereotypes, along with a disabled flag and a priority attribute. An alternative is selected for the bean archive if either:
...
{quote}
Pay attention to the last sentence of the paragraph.
--
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