]
Pete Muir closed WELD-567.
--------------------------
Assignee: Pete Muir
Resolution: Done
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
Assignee: Pete Muir
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: