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
Reporter: Stuart Douglas
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