[cdi-dev] [JBoss JIRA] Commented: (CDI-61) Producers and beans that are under construction

Stuart Douglas (JIRA) jira-events at lists.jboss.org
Sun Sep 18 19:37:26 EDT 2011

    [ https://issues.jboss.org/browse/CDI-61?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12629018#comment-12629018 ] 

Stuart Douglas commented on CDI-61:

This may not actually be a problem, if the injected bean is normal scoped and the producer does not attempt to call any methods on the injected proxy, although this sort of setup should probably be avoided anyway.

> Producers and beans that are under construction
> -----------------------------------------------
>                 Key: CDI-61
>                 URL: https://issues.jboss.org/browse/CDI-61
>             Project: CDI Specification Issues
>          Issue Type: Bug
>          Components: Beans
>    Affects Versions: 1.0
>            Reporter: Pete Muir
>             Fix For: 1.1 (Proposed)
> I think we need the spec to say something about cases where an injection point of a bean resolves to a producer method of the same bean. The implementation should detect that this is a definition error. It shouldn't try to call a producer method on a non-fully-initialized bean.

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the cdi-dev mailing list