@ThreadScoped in SE
-------------------
Key: WBRI-221
URL:
https://jira.jboss.org/jira/browse/WBRI-221
Project: Web Beans
Issue Type: Feature Request
Environment: Java SE w/o EJB
Reporter: Peter Royle
Priority: Minor
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:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira