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

Pete Muir (JIRA) jira-events at lists.jboss.org
Fri Feb 5 12:17:20 EST 2010


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

Pete Muir updated WELDX-19:
---------------------------

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


> @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.2.CR1
>
>
> 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