[weld-issues] [JBoss JIRA] (WELD-1106) Default name for a managed bean is not correct for class name that starts with two or more upper case letters

Marko Lukša (JIRA) jira-events at lists.jboss.org
Mon Apr 23 05:26:17 EDT 2012


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

Marko Lukša resolved WELD-1106.
-------------------------------

    Resolution: Rejected


Pete has confirmed that section 3.1.5 of the spec should say that if follows the JavaBean standard. 

This means the default name - as returned by Weld - is correct. 
                
> Default name for a managed bean is not correct for class name that starts with two or more upper case letters
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: WELD-1106
>                 URL: https://issues.jboss.org/browse/WELD-1106
>             Project: Weld
>          Issue Type: Bug
>          Components: Class Beans (Managed and Session)
>    Affects Versions: 1.1.5.Final
>            Reporter: Viacheslav Kabanovich
>            Assignee: Marko Lukša
>         Attachments: weld-tests-named.jar
>
>
> "3.1.5. Default name for a managed bean
> The default name for a managed bean is the unqualified class name of the bean class, after converting the first character to
> lower case."
> For a class named XBean, default name of a managed bean should be xBean. However, in runtime with Weld 1.1.5, this name is not available in EL, instead name XBean is available.

--
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 weld-issues mailing list