Updating references to @Resource usage
This commit is contained in:
Michael Isvy
2011-07-22 01:18:29 +00:00
parent f3d00da080
commit 02362f4347
3 changed files with 20 additions and 94 deletions

View File

@@ -2869,8 +2869,8 @@ public class Account {
autowiring by type or by name respectively. As an alternative, as of
Spring 2.5 it is preferable to specify explicit, annotation-driven
dependency injection for your <interfacename>@Configurable</interfacename>
beans by using <interfacename>@Autowired</interfacename> and
<interfacename>@Resource</interfacename> at the field or method level (see
beans by using <interfacename>@Autowired</interfacename> or
<interfacename>@Inject</interfacename> at the field or method level (see
<xref linkend="beans-annotation-config" /> for further details).</para>
<para>Finally you can enable Spring dependency checking for the object