[weld-issues] [JBoss JIRA] (WELD-967) @ThreadScope documentation bug

Jozef Hartinger (JIRA) jira-events at lists.jboss.org
Fri Mar 9 07:45:36 EST 2012


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

Jozef Hartinger updated WELD-967:
---------------------------------

    Fix Version/s: 2.0.0.Alpha2

    
> @ThreadScope documentation bug
> ------------------------------
>
>                 Key: WELD-967
>                 URL: https://issues.jboss.org/browse/WELD-967
>             Project: Weld
>          Issue Type: Bug
>          Components: Weld SPI
>    Affects Versions: 1.1.2.Final
>         Environment: Documentation
>            Reporter: Yonatan Graber
>            Assignee: Ales Justin
>              Labels: documentation, weld-se
>             Fix For: 1.2.0.Beta1, 2.0.0.Alpha2
>
>
> In the @ThreadScope documentation (http://docs.jboss.org/weld/reference/1.1.0.Final/en-US/html_single/#d0e5455), it says you required to have the following added to beans.xml:
> {code:xml} <beans>
>   <decorators>
>      <decorator>org.jboss.weld.environment.se.threading.RunnableDecorator</decorator>
>   </decorator>
> </beans>{code}
>  
> while it should be:
> {code:xml} <beans>
>   <decorators>
>      <class>org.jboss.weld.environment.se.threading.RunnableDecorator</class>
>   </decorator>
> </beans>{code}
> Simple error, but very confusing. Running with the wrong decorator declarations will cause the @ThreadScope not to work.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list