[
https://issues.jboss.org/browse/WELD-967?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ales Justin resolved WELD-967.
------------------------------
Assignee: Ales Justin
Fix Version/s: 1.2.0.Beta1
Resolution: Done
> @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
>
>
> 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
_______________________________________________
weld-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/weld-issues