cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r603149 - in /incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws: EndpointImpl.java spring/EndpointDefinitionParser.java
Date Tue, 11 Dec 2007 05:58:44 GMT
Author: ningjiang
Date: Mon Dec 10 21:58:39 2007
New Revision: 603149

URL: http://svn.apache.org/viewvc?rev=603149&view=rev
Log:
CXF-1282 support setExecutor in jaxws front end EndpointImpl

Modified:
    incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/EndpointImpl.java
    incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/spring/EndpointDefinitionParser.java

Modified: incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/EndpointImpl.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/EndpointImpl.java?rev=603149&r1=603148&r2=603149&view=diff
==============================================================================
--- incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/EndpointImpl.java
(original)
+++ incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/EndpointImpl.java
Mon Dec 10 21:58:39 2007
@@ -314,6 +314,10 @@
                 serverFactory.setServiceClass(implementorClass);
             }
             
+            if (executor != null) {
+                serverFactory.getServiceFactory().setExecutor(executor);
+            }
+            
             configureObject(serverFactory);
             
             server = serverFactory.create();

Modified: incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/spring/EndpointDefinitionParser.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/spring/EndpointDefinitionParser.java?rev=603149&r1=603148&r2=603149&view=diff
==============================================================================
--- incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/spring/EndpointDefinitionParser.java
(original)
+++ incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/spring/EndpointDefinitionParser.java
Mon Dec 10 21:58:39 2007
@@ -100,7 +100,7 @@
             Node n = children.item(i);
             if (n.getNodeType() == Node.ELEMENT_NODE) {
                 String name = n.getLocalName();
-                if ("properties".equals(n.getLocalName())) {
+                if ("properties".equals(name)) {
                     Map map = ctx.getDelegate().parseMapElement((Element) n, bean.getBeanDefinition());
                     bean.addPropertyValue("properties", map);
                 } else if ("binding".equals(name)) {



Mime
View raw message