[weld-issues] [JBoss JIRA] Updated: (WELDX-19) @ThreadScoped in SE

Peter Royle (JIRA) jira-events at lists.jboss.org
Mon Dec 7 04:50:30 EST 2009


     [ https://jira.jboss.org/jira/browse/WELDX-19?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Royle updated WELDX-19:
-----------------------------

        Fix Version/s: Java SE 1.0.0.CR3
    Affects Version/s:     (was: Java SE 1.0.0.CR3)


> @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
>            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: 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