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

Stuart Douglas updated WELD-567:
--------------------------------

        Fix Version/s: 1.1.0.BETA1
    Affects Version/s: 1.0.1.Final
          Component/s: Producers (Methods, Fields and Disposers)


> Weld should throw an exception if a resource producer field is defined with a 
> scope other than @Dependent
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: WELD-567
>                 URL: https://jira.jboss.org/browse/WELD-567
>             Project: Weld
>          Issue Type: Feature Request
>          Components: Producers (Methods, Fields and Disposers)
>    Affects Versions: 1.0.1.Final
>            Reporter: Stuart Douglas
>             Fix For: 1.1.0.BETA1
>
>
> The spec does allow containers to support this, however in many cases it does 
> not make sense, e.g. for an entity manager you can end up with a Conversation 
> scoped proxy for a transaction scoped entity manager. 
> It would be better to disallow this altogether, both for portability reason 
> and to prevent end user confusion.

-- 
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

        
_______________________________________________
weld-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/weld-issues

Reply via email to