diff --git a/spring-boot-demo-dubbo-parent/spring-boot-demo-dubbo-api/README.md b/spring-boot-demo-dubbo-parent/spring-boot-demo-dubbo-api/README.md new file mode 100644 index 0000000..fdb7c7a --- /dev/null +++ b/spring-boot-demo-dubbo-parent/spring-boot-demo-dubbo-api/README.md @@ -0,0 +1,61 @@ +# spring-boot-demo-dubbo-api + +Spring Boot 与 Dubbo 整合抽取的服务接口 + +### pom.xml + +```xml + + + 4.0.0 + + spring-boot-demo-dubbo-api + 0.0.1-SNAPSHOT + jar + + spring-boot-demo-dubbo-api + Spring Boot 与 Dubbo 整合抽取的服务接口 + + + com.xkcoding + spring-boot-demo-dubbo-parent + 0.0.1-SNAPSHOT + ../pom.xml + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + +``` + +### HelloService.java + +```java +package com.xkcoding.springbootdemodubboapi.service; + +/** + *

+ * HelloService + *

+ * + * @package: com.xkcoding.springbootdemodubboapi.service + * @description: HelloService + * @author: yangkai.shen + * @date: Created in 2018/4/17 下午5:13 + * @copyright: Copyright (c) 2018 + * @version: V1.0 + * @modified: yangkai.shen + */ +public interface HelloService { + String hello(String name); +} +``` + diff --git a/spring-boot-demo-dubbo-parent/spring-boot-demo-dubbo-api/pom.xml b/spring-boot-demo-dubbo-parent/spring-boot-demo-dubbo-api/pom.xml new file mode 100644 index 0000000..2ccd87b --- /dev/null +++ b/spring-boot-demo-dubbo-parent/spring-boot-demo-dubbo-api/pom.xml @@ -0,0 +1,29 @@ + + + 4.0.0 + + spring-boot-demo-dubbo-api + 0.0.1-SNAPSHOT + jar + + spring-boot-demo-dubbo-api + Spring Boot 与 Dubbo 整合抽取的服务接口 + + + com.xkcoding + spring-boot-demo-dubbo-parent + 0.0.1-SNAPSHOT + ../pom.xml + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + \ No newline at end of file diff --git a/spring-boot-demo-dubbo-parent/spring-boot-demo-dubbo-api/src/main/java/com/xkcoding/springbootdemodubboapi/service/HelloService.java b/spring-boot-demo-dubbo-parent/spring-boot-demo-dubbo-api/src/main/java/com/xkcoding/springbootdemodubboapi/service/HelloService.java new file mode 100644 index 0000000..5527895 --- /dev/null +++ b/spring-boot-demo-dubbo-parent/spring-boot-demo-dubbo-api/src/main/java/com/xkcoding/springbootdemodubboapi/service/HelloService.java @@ -0,0 +1,18 @@ +package com.xkcoding.springbootdemodubboapi.service; + +/** + *

+ * HelloService + *

+ * + * @package: com.xkcoding.springbootdemodubboapi.service + * @description: HelloService + * @author: yangkai.shen + * @date: Created in 2018/4/17 下午5:13 + * @copyright: Copyright (c) 2018 + * @version: V1.0 + * @modified: yangkai.shen + */ +public interface HelloService { + String hello(String name); +} diff --git a/spring-boot-demo-dubbo-parent/spring-boot-demo-dubbo-api/src/main/resources/application.yml b/spring-boot-demo-dubbo-parent/spring-boot-demo-dubbo-api/src/main/resources/application.yml new file mode 100644 index 0000000..e69de29