[jboss-cvs] JBossAS SVN: r59311 - branches/Branch_4_2/server/src/main/org/jboss/ejb/plugins

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Jan 3 09:27:57 EST 2007


Author: thomas.diesler at jboss.com
Date: 2007-01-03 09:27:56 -0500 (Wed, 03 Jan 2007)
New Revision: 59311

Modified:
   branches/Branch_4_2/server/src/main/org/jboss/ejb/plugins/StatelessSessionInstanceInterceptor.java
Log:
prevent CCE with JAXRPC MessageContext

Modified: branches/Branch_4_2/server/src/main/org/jboss/ejb/plugins/StatelessSessionInstanceInterceptor.java
===================================================================
--- branches/Branch_4_2/server/src/main/org/jboss/ejb/plugins/StatelessSessionInstanceInterceptor.java	2007-01-03 13:11:56 UTC (rev 59310)
+++ branches/Branch_4_2/server/src/main/org/jboss/ejb/plugins/StatelessSessionInstanceInterceptor.java	2007-01-03 14:27:56 UTC (rev 59311)
@@ -150,7 +150,7 @@
       }
 
       // Service Endpoint invocation
-      else if (mi.getValue(InvocationKey.SOAP_MESSAGE_CONTEXT) != null)
+      else if (mi.getValue(InvocationKey.SOAP_MESSAGE_CONTEXT) instanceof MessageContext)
       {
          ctx.setMessageContext((MessageContext)mi.getValue(InvocationKey.SOAP_MESSAGE_CONTEXT));
          AllowedOperationsAssociation.pushInMethodFlag(IN_SERVICE_ENDPOINT_METHOD);




More information about the jboss-cvs-commits mailing list