[jbosstools-issues] [JBoss JIRA] Resolved: (JBIDE-6436) Managed bean class must have a constructor with no parameters, or the class must declare a constructor annotated @Inject.

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Wed Jun 9 05:25:38 EDT 2010


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

Viacheslav Kabanovich resolved JBIDE-6436.
------------------------------------------

    Resolution: Done


> Managed bean class must have a constructor with no parameters, or the class must declare a constructor annotated @Inject.
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-6436
>                 URL: https://jira.jboss.org/browse/JBIDE-6436
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: cdi (jsr-299)
>    Affects Versions: 3.2.next
>            Reporter: Alexey Kazakov
>            Assignee: Viacheslav Kabanovich
>             Fix For: 3.2.next
>
>
> Following class is not a managed bean and should not to be included in CDI model:
> public class Parrot implements Bird {
>    public Parrot(String name) {}
> }
> org.jboss.tools.cdi.core.test.tck.ResolutionByTypeTest.testBeanTypesOnManagedBean() should pass.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list