[weld-issues] [JBoss JIRA] Closed: (WELDSE-11) @ThreadScoped in SE

Pete Muir (JIRA) jira-events at lists.jboss.org
Thu Aug 12 06:42:50 EDT 2010


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

Pete Muir closed WELDSE-11.
---------------------------



> @ThreadScoped in SE
> -------------------
>
>                 Key: WELDSE-11
>                 URL: https://jira.jboss.org/browse/WELDSE-11
>             Project: Weld support for Java SE
>          Issue Type: Feature Request
>         Environment: Java SE w/o EJB
>            Reporter: Peter Royle
>            Priority: Minor
>             Fix For: 1.0.1.Final
>
>
> 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/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list