Author: richard.opalka(a)jboss.com
Date: 2010-11-29 11:23:05 -0500 (Mon, 29 Nov 2010)
New Revision: 13361
Modified:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2074/usecase2/service/EJB3Impl.java
Log:
Each resource may only be injected into a single field or method of a given
name in a given class. Requesting injection of the java:comp/env/
com.example.MyApp/myDatabase resource into both the setMyDatabase method
and the myDatabase field is an error
Modified:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2074/usecase2/service/EJB3Impl.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2074/usecase2/service/EJB3Impl.java 2010-11-29
16:22:13 UTC (rev 13360)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2074/usecase2/service/EJB3Impl.java 2010-11-29
16:23:05 UTC (rev 13361)
@@ -177,7 +177,7 @@
private String string1;
@Resource(name = "string")
- private void setString(String s)
+ private void setString1(String s)
{
this.string1 = s;
}
Show replies by date