[webbeans-issues] [JBoss JIRA] Updated: (WBX-20) @ThreadScoped in SE

Pete Muir (JIRA) jira-events at lists.jboss.org
Sun Apr 5 07:05:23 EDT 2009


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

Pete Muir updated WBX-20:
-------------------------

    Component/s: Java SE


> @ThreadScoped in SE
> -------------------
>
>                 Key: WBX-20
>                 URL: https://jira.jboss.org/jira/browse/WBX-20
>             Project: Web Beans Extensions
>          Issue Type: Feature Request
>          Components: Java SE
>         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