Return-Path: X-Original-To: apmail-cxf-commits-archive@www.apache.org Delivered-To: apmail-cxf-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CBDE49D8B for ; Fri, 11 May 2012 15:42:15 +0000 (UTC) Received: (qmail 79391 invoked by uid 500); 11 May 2012 15:42:15 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 79347 invoked by uid 500); 11 May 2012 15:42:15 -0000 Mailing-List: contact commits-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list commits@cxf.apache.org Received: (qmail 79338 invoked by uid 99); 11 May 2012 15:42:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 May 2012 15:42:15 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 May 2012 15:42:13 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 827E3238890B; Fri, 11 May 2012 15:41:52 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1337214 - /cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/ServiceImpl.java Date: Fri, 11 May 2012 15:41:52 -0000 To: commits@cxf.apache.org From: dkulp@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120511154152.827E3238890B@eris.apache.org> 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