cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r703815 - /cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/ServerFactoryBean.java
Date Sun, 12 Oct 2008 13:35:11 GMT
Author: ningjiang
Date: Sun Oct 12 06:35:10 2008
New Revision: 703815

URL: http://svn.apache.org/viewvc?rev=703815&view=rev
Log:
CXF-1857 set the invoker when ServiceFactoryBean create a new invoker.

Modified:
    cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/ServerFactoryBean.java

Modified: cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/ServerFactoryBean.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/ServerFactoryBean.java?rev=703815&r1=703814&r2=703815&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/ServerFactoryBean.java
(original)
+++ cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/ServerFactoryBean.java
Sun Oct 12 06:35:10 2008
@@ -110,7 +110,8 @@
             if (invoker != null) {
                 getServiceFactory().setInvoker(invoker);
             } else if (serviceBean != null) {
-                getServiceFactory().setInvoker(createInvoker());
+                invoker = createInvoker();
+                getServiceFactory().setInvoker(invoker);
             }
 
             Endpoint ep = createEndpoint();
@@ -236,9 +237,9 @@
     }
 
     /**
-     * Specifies if the Server should be started upon creation. The 
-     * default is for Servers to be started upon creation. Passing 
-     * <code>false</code> tells the factory that the Server will be 
+     * Specifies if the Server should be started upon creation. The
+     * default is for Servers to be started upon creation. Passing
+     * <code>false</code> tells the factory that the Server will be
      * started manually using the start method.
      *
      * @param start <code>false</code> specifies that the Server will not be
started upon creation
@@ -260,7 +261,7 @@
     }
 
     /**
-     * Sets the bean implementing the service. If this is set a 
+     * Sets the bean implementing the service. If this is set a
      * <code>BeanInvoker</code> is created for the provided bean.
      *
      * @param serviceBean an instantiated implementaiton object
@@ -286,12 +287,12 @@
     }
 
     /**
-     * Specifies the location of the WSDL defining the service interface 
-     * used by the factory to create services. Typically, the WSDL 
+     * Specifies the location of the WSDL defining the service interface
+     * used by the factory to create services. Typically, the WSDL
      * location is specified as a URL.
-     * 
+     *
      * @param locaiton the URL of the WSDL defining the service interface
-     */          
+     */
     public void setWsdlLocation(String location) {
         setWsdlURL(location);
     }



Mime
View raw message