cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r1388226 - /cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/AbstractJAXRSFactoryBean.java
Date Thu, 20 Sep 2012 21:38:31 GMT
Author: sergeyb
Date: Thu Sep 20 21:38:31 2012
New Revision: 1388226

URL: http://svn.apache.org/viewvc?rev=1388226&view=rev
Log:
[CXF-4500] Evaluating schema locations after providers

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

Modified: cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/AbstractJAXRSFactoryBean.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/AbstractJAXRSFactoryBean.java?rev=1388226&r1=1388225&r2=1388226&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/AbstractJAXRSFactoryBean.java
(original)
+++ cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/AbstractJAXRSFactoryBean.java
Thu Sep 20 21:38:31 2012
@@ -324,10 +324,10 @@ public class AbstractJAXRSFactoryBean ex
         setDataBindingProvider(factory, ep.getService());
         
         factory.setBus(getBus());
+        factory.initProviders(serviceFactory.getRealClassResourceInfo());
         if (schemaLocations != null) {
             factory.setSchemaLocations(schemaLocations);
         }
-        factory.initProviders(serviceFactory.getRealClassResourceInfo());
         ep.put(ProviderFactory.class.getName(), factory);
         return factory;
     }



Mime
View raw message