Author: dkulp
Date: Fri May 11 15:41:52 2012
New Revision: 1337214
URL: http://svn.apache.org/viewvc?rev=1337214&view=rev
Log:
[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/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/ServiceImpl.java
Modified:
cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/ServiceImpl.java
URL:
http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/ServiceImpl.java?rev=1337214&r1=1337213&r2=1337214&view=diff
==============================================================================
---
cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/ServiceImpl.java
(original)
+++
cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/ServiceImpl.java
Fri May 11 15:41:52 2012
@@ -94,7 +94,6 @@ import org.apache.cxf.service.model.Serv
import org.apache.cxf.service.model.ServiceModelUtil;
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.wsdl.EndpointReferenceUtils;
import org.apache.cxf.wsdl.WSDLManager;
@@ -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