cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r650680 - in /incubator/cxf/trunk/distribution/src/main/release/samples/jax_rs: basic/src/demo/jaxrs/server/Server.java basic_https/src/demo/jaxrs/server/Server.java content_negotiation/src/demo/jaxrs/server/Server.java
Date Tue, 22 Apr 2008 22:33:44 GMT
Author: dkulp
Date: Tue Apr 22 15:33:38 2008
New Revision: 650680

URL: http://svn.apache.org/viewvc?rev=650680&view=rev
Log:
[CXF-1544] Fix compile errors.  Patch from Sergey B. applied.

Modified:
    incubator/cxf/trunk/distribution/src/main/release/samples/jax_rs/basic/src/demo/jaxrs/server/Server.java
    incubator/cxf/trunk/distribution/src/main/release/samples/jax_rs/basic_https/src/demo/jaxrs/server/Server.java
    incubator/cxf/trunk/distribution/src/main/release/samples/jax_rs/content_negotiation/src/demo/jaxrs/server/Server.java

Modified: incubator/cxf/trunk/distribution/src/main/release/samples/jax_rs/basic/src/demo/jaxrs/server/Server.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/src/main/release/samples/jax_rs/basic/src/demo/jaxrs/server/Server.java?rev=650680&r1=650679&r2=650680&view=diff
==============================================================================
--- incubator/cxf/trunk/distribution/src/main/release/samples/jax_rs/basic/src/demo/jaxrs/server/Server.java
(original)
+++ incubator/cxf/trunk/distribution/src/main/release/samples/jax_rs/basic/src/demo/jaxrs/server/Server.java
Tue Apr 22 15:33:38 2008
@@ -27,7 +27,8 @@
     protected Server() throws Exception {
         JAXRSServerFactoryBean sf = new JAXRSServerFactoryBean();
         sf.setResourceClasses(CustomerService.class);
-        sf.setResourceProvider(CustomerService.class, new SingletonResourceProvider());
+        sf.setResourceProvider(CustomerService.class, 
+            new SingletonResourceProvider(new CustomerService()));
         sf.setAddress("http://localhost:9000/");
 
         sf.create();

Modified: incubator/cxf/trunk/distribution/src/main/release/samples/jax_rs/basic_https/src/demo/jaxrs/server/Server.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/src/main/release/samples/jax_rs/basic_https/src/demo/jaxrs/server/Server.java?rev=650680&r1=650679&r2=650680&view=diff
==============================================================================
--- incubator/cxf/trunk/distribution/src/main/release/samples/jax_rs/basic_https/src/demo/jaxrs/server/Server.java
(original)
+++ incubator/cxf/trunk/distribution/src/main/release/samples/jax_rs/basic_https/src/demo/jaxrs/server/Server.java
Tue Apr 22 15:33:38 2008
@@ -27,7 +27,8 @@
     protected Server() throws Exception {
         JAXRSServerFactoryBean sf = new JAXRSServerFactoryBean();
         sf.setResourceClasses(CustomerService.class);
-        sf.setResourceProvider(CustomerService.class, new SingletonResourceProvider());
+        sf.setResourceProvider(CustomerService.class, 
+            new SingletonResourceProvider(new CustomerService()));
         sf.setAddress("https://localhost:9000/");
 
         sf.create();

Modified: incubator/cxf/trunk/distribution/src/main/release/samples/jax_rs/content_negotiation/src/demo/jaxrs/server/Server.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/src/main/release/samples/jax_rs/content_negotiation/src/demo/jaxrs/server/Server.java?rev=650680&r1=650679&r2=650680&view=diff
==============================================================================
--- incubator/cxf/trunk/distribution/src/main/release/samples/jax_rs/content_negotiation/src/demo/jaxrs/server/Server.java
(original)
+++ incubator/cxf/trunk/distribution/src/main/release/samples/jax_rs/content_negotiation/src/demo/jaxrs/server/Server.java
Tue Apr 22 15:33:38 2008
@@ -27,7 +27,8 @@
     protected Server() throws Exception {
         JAXRSServerFactoryBean sf = new JAXRSServerFactoryBean();
         sf.setResourceClasses(CustomerService.class);
-        sf.setResourceProvider(CustomerService.class, new SingletonResourceProvider());
+        sf.setResourceProvider(CustomerService.class, 
+            new SingletonResourceProvider(new CustomerService()));
         sf.setAddress("http://localhost:9000/");
 
         sf.create();



Mime
View raw message