[weld-issues] [JBoss JIRA] Commented: (WELD-479) Detect circular dependencies in @Dependant scoped beans

Pete Muir (JIRA) jira-events at lists.jboss.org
Fri Apr 9 03:49:37 EDT 2010


    [ https://jira.jboss.org/jira/browse/WELD-479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12524713#action_12524713 ] 

Pete Muir commented on WELD-479:
--------------------------------

This is only relevant for constructor injection of dependent instances, in all other cases the container can break the circularity.

> Detect circular dependencies in @Dependant scoped beans
> -------------------------------------------------------
>
>                 Key: WELD-479
>                 URL: https://jira.jboss.org/jira/browse/WELD-479
>             Project: Weld
>          Issue Type: Bug
>    Affects Versions: 1.0.1.Final
>            Reporter: Stuart Douglas
>            Assignee: Stuart Douglas
>             Fix For: 1.0.2.CR1
>
>
> According to 5.4: "Beans with scope @Dependent never have circular dependencies", we should detect this at deployment time and throw an error.

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

        


More information about the weld-issues mailing list