[webbeans-issues] [JBoss JIRA] Created: (WBRI-221) @ThreadScoped in SE

Peter Royle (JIRA) jira-events at lists.jboss.org
Sun Apr 5 02:48:22 EDT 2009


@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

        



More information about the weld-issues mailing list