cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1521956 - /cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/JAXRSServerFactoryBean.java
Date Wed, 11 Sep 2013 17:58:17 GMT
Author: dkulp
Date: Wed Sep 11 17:58:17 2013
New Revision: 1521956

URL: http://svn.apache.org/r1521956
Log:
[CXF-5271] JAXRS server should act like the JAXWS 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=1521956&r1=1521955&r2=1521956&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
Wed Sep 11 17:58:17 2013
@@ -182,15 +182,14 @@ public class JAXRSServerFactoryBean exte
             }
             checkPrivateEndpoint(ep);
             
+            factory.applyDynamicFeatures(getServiceFactory().getClassResourceInfo());
+            applyFeatures();
+
             getServiceFactory().sendEvent(FactoryBeanListener.Event.SERVER_CREATED,
                                           server, 
                                           null,
                                           null);
             
-            factory.applyDynamicFeatures(getServiceFactory().getClassResourceInfo());
-            applyFeatures();
-            
-            
             
             if (start) {
                 try {



Mime
View raw message