cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: Fixing jaxrs spring boot scan demo
Date Wed, 08 Jun 2016 16:02:08 GMT
Repository: cxf
Updated Branches:
  refs/heads/master b15472f1f -> fb48f17d1


Fixing jaxrs spring boot scan demo


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/fb48f17d
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/fb48f17d
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/fb48f17d

Branch: refs/heads/master
Commit: fb48f17d13fa46f8433dc5af367fe6dca16f977c
Parents: b15472f
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Wed Jun 8 17:01:52 2016 +0100
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Wed Jun 8 17:01:52 2016 +0100

----------------------------------------------------------------------
 .../java/sample/rs/client/SampleRestClientApplication.java     | 6 +++---
 .../main/java/sample/rs/service/SampleScanRestApplication.java | 1 -
 2 files changed, 3 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/fb48f17d/distribution/src/main/release/samples/jax_rs/jaxrs_spring_boot_scan/src/main/java/sample/rs/client/SampleRestClientApplication.java
----------------------------------------------------------------------
diff --git a/distribution/src/main/release/samples/jax_rs/jaxrs_spring_boot_scan/src/main/java/sample/rs/client/SampleRestClientApplication.java
b/distribution/src/main/release/samples/jax_rs/jaxrs_spring_boot_scan/src/main/java/sample/rs/client/SampleRestClientApplication.java
index f015097..39e1bce 100644
--- a/distribution/src/main/release/samples/jax_rs/jaxrs_spring_boot_scan/src/main/java/sample/rs/client/SampleRestClientApplication.java
+++ b/distribution/src/main/release/samples/jax_rs/jaxrs_spring_boot_scan/src/main/java/sample/rs/client/SampleRestClientApplication.java
@@ -20,7 +20,7 @@ package sample.rs.client;
 
 import org.apache.cxf.jaxrs.client.JAXRSClientFactory;
 
-import sample.rs.service.hello1.HelloService;
+import sample.rs.service.hello1.HelloServiceImpl1;
 
 
 public final class SampleRestClientApplication {
@@ -28,8 +28,8 @@ public final class SampleRestClientApplication {
         
     }
     public static void main(String[] args) {
-        HelloService service = JAXRSClientFactory.create("http://localhost:8080/services/helloservice/",

-                                  HelloService.class);
+        HelloServiceImpl1 service = JAXRSClientFactory.create("http://localhost:8080/services/helloservice/",

+                                    HelloServiceImpl1.class);
         System.out.println(service.sayHello("ApacheCxfUser"));
     }  
 }

http://git-wip-us.apache.org/repos/asf/cxf/blob/fb48f17d/distribution/src/main/release/samples/jax_rs/jaxrs_spring_boot_scan/src/main/java/sample/rs/service/SampleScanRestApplication.java
----------------------------------------------------------------------
diff --git a/distribution/src/main/release/samples/jax_rs/jaxrs_spring_boot_scan/src/main/java/sample/rs/service/SampleScanRestApplication.java
b/distribution/src/main/release/samples/jax_rs/jaxrs_spring_boot_scan/src/main/java/sample/rs/service/SampleScanRestApplication.java
index 0ddf526..a839659 100644
--- a/distribution/src/main/release/samples/jax_rs/jaxrs_spring_boot_scan/src/main/java/sample/rs/service/SampleScanRestApplication.java
+++ b/distribution/src/main/release/samples/jax_rs/jaxrs_spring_boot_scan/src/main/java/sample/rs/service/SampleScanRestApplication.java
@@ -22,7 +22,6 @@ import org.springframework.boot.SpringApplication;
 import org.springframework.boot.autoconfigure.SpringBootApplication;
 import org.springframework.context.ApplicationContext;
 import org.springframework.context.annotation.Bean;
-import org.springframework.context.annotation.Import;
 
 @SpringBootApplication
 public class SampleScanRestApplication {


Mime
View raw message