]
Peter Royle commented on WELDX-19:
----------------------------------
Implemented and tested. Requires documentation.
@ThreadScoped in SE
-------------------
Key: WELDX-19
URL:
https://jira.jboss.org/jira/browse/WELDX-19
Project: Weld Extensions
Issue Type: Feature Request
Components: Java SE
Environment: Java SE w/o EJB
Reporter: Peter Royle
Assignee: Peter Royle
Priority: Minor
Fix For: Java SE 1.0.0.CR3
Create a @ThreadScoped annotation and ThreadContext which is simply backed by
ThreadLocal. This enables:
@ThreadScoped String str = "hello";
to replace
ThreadLocal<String> strTL = new ThreadLocal<String>();
strTL.set("hello";
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: