[cdi-dev] [JBoss JIRA] (CDI-304) Clarify Producers for injection into generic types

Mark Struberg (JIRA) jira-events at lists.jboss.org
Sat Dec 1 16:47:21 EST 2012

Mark Struberg created CDI-304:

             Summary: Clarify Producers for injection into generic types
                 Key: CDI-304
                 URL: https://issues.jboss.org/browse/CDI-304
             Project: CDI Specification Issues
          Issue Type: Clarification
          Components: Beans
    Affects Versions: 1.1.PRD
            Reporter: Mark Struberg

There is a discussion over in DeltaSpike whether an injection point

private JsfMessage<SomeMessageClass>;

with a producer method
@Produces @Dependent
JsfMessage createMessage(InjectionPoint ip)

5.2 imo only defines the other way around. Having a raw type at the injection point and a parameterized producer method.
We should define how this is intended to work. 
Please note that the producer above works in all existing containers so far but not in Weld2-beta1.

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