cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r965966 - /cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/JAXRSServerFactoryBean.java
Date Tue, 20 Jul 2010 19:33:08 GMT
Author: dkulp
Date: Tue Jul 20 19:33:07 2010
New Revision: 965966

URL: http://svn.apache.org/viewvc?rev=965966&view=rev
Log:
Apply feature before starting the server

Modified:
    cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/JAXRSServerFactoryBean.java

Modified: cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/JAXRSServerFactoryBean.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/JAXRSServerFactoryBean.java?rev=965966&r1=965965&r2=965966&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/JAXRSServerFactoryBean.java
(original)
+++ cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/JAXRSServerFactoryBean.java
Tue Jul 20 19:33:07 2010
@@ -116,6 +116,9 @@ public class JAXRSServerFactoryBean exte
                                           server, 
                                           null,
                                           null);
+            
+            applyFeatures();
+            
             if (start) {
                 server.start();
             }
@@ -129,7 +132,6 @@ public class JAXRSServerFactoryBean exte
             throw new ServiceConstructionException(e);
         }
 
-        applyFeatures();
         return server;
     }
 



Mime
View raw message