cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject svn commit: r448450 - /incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/interceptors/WrapperClassInInterceptor.java
Date Thu, 21 Sep 2006 04:02:25 GMT
Author: ffang
Date: Wed Sep 20 21:02:25 2006
New Revision: 448450

URL: http://svn.apache.org/viewvc?view=rev&rev=448450
Log:
add return type check for async invocation for WrapperClassInInterceptor

Modified:
    incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/interceptors/WrapperClassInInterceptor.java

Modified: incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/interceptors/WrapperClassInInterceptor.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/interceptors/WrapperClassInInterceptor.java?view=diff&rev=448450&r1=448449&r2=448450
==============================================================================
--- incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/interceptors/WrapperClassInInterceptor.java
(original)
+++ incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/interceptors/WrapperClassInInterceptor.java
Wed Sep 20 21:02:25 2006
@@ -54,7 +54,11 @@
             method = (Method)boi.getOperationInfo().getProperty(Method.class.getName());
         }
         if (method != null && method.getName().endsWith("Async")) {
-            return;
+            Class<?> retType = method.getReturnType();
+            if (retType.getName().equals("java.util.concurrent.Future") 
+                || retType.getName().equals("javax.xml.ws.Response")) {
+                return;
+            }
         }
         try {
             if (method != null) {



Mime
View raw message