]
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: