[cdi-dev] [JBoss JIRA] (CDI-303) Clarify declaring selected alternatives for an application

Pete Muir (JIRA) jira-events at lists.jboss.org
Fri Feb 15 10:30:56 EST 2013


     [ https://issues.jboss.org/browse/CDI-303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pete Muir updated CDI-303:
--------------------------

    Fix Version/s: 1.1.PFD
                       (was: 1.1 (Proposed))

    
> 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
>             Fix For: 1.1.PFD
>
>
> 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