@ThreadScoped in SE
-------------------
Key: WELDSE-11
URL:
https://jira.jboss.org/browse/WELDSE-11
Project: Weld support for Java SE
Issue Type: Feature Request
Environment: Java SE w/o EJB
Reporter: Peter Royle
Priority: Minor
Fix For: 1.0.1.Final
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: