You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2012/05/11 19:38:04 UTC

svn commit: r1337296 - /cxf/branches/2.5.x-fixes/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/ServiceImpl.java

Author: dkulp
Date: Fri May 11 17:38:03 2012
New Revision: 1337296

URL: http://svn.apache.org/viewvc?rev=1337296&view=rev
Log:
Merged revisions 1337214 via  git cherry-pick from
https://svn.apache.org/repos/asf/cxf/trunk

........
  r1337214 | dkulp | 2012-05-11 11:41:52 -0400 (Fri, 11 May 2012) | 3 lines

  [CXF-4312] Remove setting the default executor in the JAX-WS service
  objects so the transports can do something "smart" if they can.

........

Modified:
    cxf/branches/2.5.x-fixes/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/ServiceImpl.java

Modified: cxf/branches/2.5.x-fixes/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/ServiceImpl.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.5.x-fixes/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/ServiceImpl.java?rev=1337296&r1=1337295&r2=1337296&view=diff
==============================================================================
--- cxf/branches/2.5.x-fixes/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/ServiceImpl.java (original)
+++ cxf/branches/2.5.x-fixes/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/ServiceImpl.java Fri May 11 17:38:03 2012
@@ -93,7 +93,6 @@ import org.apache.cxf.tools.common.exten
 import org.apache.cxf.tools.util.URIParserUtil;
 import org.apache.cxf.transport.DestinationFactory;
 import org.apache.cxf.transport.DestinationFactoryManager;
-import org.apache.cxf.workqueue.OneShotAsyncExecutor;
 import org.apache.cxf.ws.addressing.EndpointReferenceType;
 import org.apache.cxf.ws.addressing.VersionTransformer;
 import org.apache.cxf.wsdl.EndpointReferenceUtils;
@@ -466,15 +465,6 @@ public class ServiceImpl extends Service
         
         // Configure the Service
         Service service = serviceFactory.getService();
-        service.setExecutor(new Executor() {
-            public void execute(Runnable command) {
-                Executor ex = getExecutor();
-                if (ex == null) {
-                    ex = OneShotAsyncExecutor.getInstance();
-                } 
-                ex.execute(command);
-            }
-        });
         configureObject(service);
                 
         // Configure the JaxWsEndpoitnImpl