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

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Tue Jun 8 14:43:38 EDT 2010


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