[
https://issues.apache.org/jira/browse/TAP5-1664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Howard M. Lewis Ship closed TAP5-1664.
--------------------------------------
Resolution: Fixed
Fix Version/s: 5.3
Assignee: Howard M. Lewis Ship
Deprecated and marked for removal
> @InjectResource annotation should be removed, behavior of @Inject on a field
> should be changed to consider resources first
> --------------------------------------------------------------------------------------------------------------------------
>
> Key: TAP5-1664
> URL: https://issues.apache.org/jira/browse/TAP5-1664
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-ioc
> Affects Versions: 5.3, 5.2
> Reporter: Howard M. Lewis Ship
> Assignee: Howard M. Lewis Ship
> Fix For: 5.3
>
>
> The @InjectResource annotation is confusing and, ultimately, unnecessary. For
> the rare case where there's a service of type Messages or such, you can
> always change your constructor to take an ObjectLocator and look up the
> Messages service that way.
--
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