[jboss-cvs] JBossAS SVN: r58502 - trunk/ejb3/src/main/org/jboss/injection
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Nov 17 14:32:00 EST 2006
Author: jason.greene at jboss.com
Date: 2006-11-17 14:31:59 -0500 (Fri, 17 Nov 2006)
New Revision: 58502
Modified:
trunk/ejb3/src/main/org/jboss/injection/ResourceHandler.java
Log:
Ignore WebServiceContext
Modified: trunk/ejb3/src/main/org/jboss/injection/ResourceHandler.java
===================================================================
--- trunk/ejb3/src/main/org/jboss/injection/ResourceHandler.java 2006-11-17 19:13:31 UTC (rev 58501)
+++ trunk/ejb3/src/main/org/jboss/injection/ResourceHandler.java 2006-11-17 19:31:59 UTC (rev 58502)
@@ -35,6 +35,8 @@
import javax.ejb.EJBContext;
import javax.ejb.TimerService;
import javax.transaction.UserTransaction;
+import javax.xml.ws.WebServiceContext;
+
import java.lang.reflect.AccessibleObject;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
@@ -229,6 +231,10 @@
{
injectors.put(method, new EJBContextMethodInjector(method));
}
+ else if (type.equals(WebServiceContext.class))
+ {
+ // FIXME: For now we skip it, and rely on the WS stack to perform the injection
+ }
else if (type.equals(String.class)
|| type.equals(Character.class)
|| type.equals(Byte.class)
@@ -313,6 +319,10 @@
{
injectors.put(field, new EJBContextFieldInjector(field));
}
+ else if (type.equals(WebServiceContext.class))
+ {
+ // FIXME: For now we skip it, and rely on the WS stack to perform the injection
+ }
else if (type.equals(String.class)
|| type.equals(Character.class)
|| type.equals(Byte.class)
More information about the jboss-cvs-commits
mailing list