PerThread scope is not honored when service is created using autobuild
----------------------------------------------------------------------
Key: TAP5-1765
URL: https://issues.apache.org/jira/browse/TAP5-1765
Project: Tapestry 5
Issue Type: Bug
Components: tapestry-ioc
Affects Versions: 5.3
Reporter: Denis Stepanov
Priority: Critical
Bug is possible to reproduce by modifying IOC test class PerThreadModule:
from:
{code:java}
@Scope(ScopeConstants.PERTHREAD)
public StringHolder buildStringHolder()
{
return new StringHolderImpl();
}
{code}
to:
{code:java}
@Scope(ScopeConstants.PERTHREAD)
public StringHolder buildStringHolder(@Autobuild StringHolderImpl impl)
{
return impl;
}
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira