[jboss-cvs] JBossAS SVN: r66982 - trunk/server/src/main/org/jboss/invocation.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Nov 12 16:16:32 EST 2007


Author: anil.saldhana at jboss.com
Date: 2007-11-12 16:16:32 -0500 (Mon, 12 Nov 2007)
New Revision: 66982

Modified:
   trunk/server/src/main/org/jboss/invocation/Invocation.java
Log:
JBAS-4932: consider the JBossWS ServiceEndpoint invocation type as a local invocation as the call is fielded by a tomcat layer before passed to an ejb endpoint

Modified: trunk/server/src/main/org/jboss/invocation/Invocation.java
===================================================================
--- trunk/server/src/main/org/jboss/invocation/Invocation.java	2007-11-12 21:10:41 UTC (rev 66981)
+++ trunk/server/src/main/org/jboss/invocation/Invocation.java	2007-11-12 21:16:32 UTC (rev 66982)
@@ -394,7 +394,8 @@
    public boolean isLocal()
    {
       InvocationType type = getType();
-      return (type == InvocationType.LOCAL || type == InvocationType.LOCALHOME);
+      return (type == InvocationType.LOCAL || type == InvocationType.LOCALHOME
+            || type == InvocationType.SERVICE_ENDPOINT);
    }
    
    /**




More information about the jboss-cvs-commits mailing list