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

Peter Royle (JIRA) jira-events at lists.jboss.org
Wed Feb 17 08:31:10 EST 2010


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

Peter Royle resolved WELDX-19.
------------------------------

    Fix Version/s: Java SE 1.0.1
                       (was: Java SE 1.0.2.CR1)
       Resolution: Done


Documented

> @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.1
>
>
> 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