Updating references to @Resource usage

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4759 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
Michael Isvy
2011-07-22 01:18:29 +00:00
parent 438e673cb1
commit 4a66f7a6d1
3 changed files with 20 additions and 94 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ public class SomeMovieFinder implements MovieFinder {
<interfacename>DataSource</interfacename>; a JPA-based repository will need
access to an <interfacename>EntityManager</interfacename>. The easiest way
to accomplish this is to have this resource dependency injected using one of
the <interfacename>@Autowired,</interfacename>
the <interfacename>@Autowired,</interfacename>, <interfacename>@Inject</interfacename>,
<interfacename>@Resource</interfacename> or
<interfacename>@PersistenceContext</interfacename> annotations. Here is an
example for a JPA repository:</para>