[cdi-dev] [JBoss JIRA] (CDI-201) Reflect BeanAttributes within validation rules

Pete Muir (JIRA) jira-events at lists.jboss.org
Wed Aug 22 12:20:15 EDT 2012


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

Pete Muir updated CDI-201:
--------------------------

    Fix Version/s: 1.1.PRD
                       (was: 1.1 (Proposed))
         Assignee: Pete Muir


Pull issued at https://github.com/jboss/cdi/pull/80 - please review.
                
> Reflect BeanAttributes within validation rules
> ----------------------------------------------
>
>                 Key: CDI-201
>                 URL: https://issues.jboss.org/browse/CDI-201
>             Project: CDI Specification Issues
>          Issue Type: Bug
>          Components: Portable Extensions
>    Affects Versions: 1.1.EDR
>            Reporter: Jozef Hartinger
>            Assignee: Pete Muir
>             Fix For: 1.1.PRD
>
>
> For example:
> 1)
> The spec says:
> {quote}Each child <class> element must specify the name of an alternative bean class. If there is no class with the specified name, or *if the class with the specified name is not an alternative bean class, the container automatically detects the problem and treats it as a deployment problem*.
> {quote}
> Since that "alternative" attribute of a bean can be altered by a portable extension in the ProcessBeanAttributes phase, the specification should instead require for each class listed in the <class> element, each bean that defines the class as its bean class is an alternative.
> 2)
> {quote}If Y has a name and X declares a name explicitly, using @Named, the container automatically detects the problem and treats
> it as a definition error.{quote}
> The specification should abstract from @Named, since the ProcessBeanAttributes enables an extension to set a bean name without using @Named
> Likely, there are other similar issues.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the cdi-dev mailing list