Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
武汉红喜
whatsmars
提交
5a691053
W
whatsmars
项目概览
武汉红喜
/
whatsmars
通知
3
Star
0
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
W
whatsmars
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
5a691053
编写于
12月 04, 2017
作者:
武汉红喜
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update package name
上级
74f1ceae
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
10 addition
and
10 deletion
+10
-10
whatsmars-dubbo/whatsmars-dubbo-api/src/main/java/com/itlong/whatsmars/dubbo/demo/api/DemoService.java
...java/com/itlong/whatsmars/dubbo/demo/api/DemoService.java
+1
-1
whatsmars-dubbo/whatsmars-dubbo-api/src/main/java/com/itlong/whatsmars/dubbo/demo/api/UserService.java
...java/com/itlong/whatsmars/dubbo/demo/api/UserService.java
+1
-1
whatsmars-dubbo/whatsmars-dubbo-consumer-boot/src/main/java/com/whatsmars/dubbo/demo/consumer/rpc/DemoRpc.java
...n/java/com/whatsmars/dubbo/demo/consumer/rpc/DemoRpc.java
+1
-1
whatsmars-dubbo/whatsmars-dubbo-consumer/src/main/resources/spring/dubbo-demo-consumer.xml
...onsumer/src/main/resources/spring/dubbo-demo-consumer.xml
+2
-2
whatsmars-dubbo/whatsmars-dubbo-provider-boot/src/main/java/com/whatsmars/dubbo/demo/provider/resource/DemoServiceImpl.java
...atsmars/dubbo/demo/provider/resource/DemoServiceImpl.java
+1
-1
whatsmars-dubbo/whatsmars-dubbo-provider/src/main/java/com/itlong/whatsmars/dubbo/demo/provider/DemoServiceImpl.java
...itlong/whatsmars/dubbo/demo/provider/DemoServiceImpl.java
+1
-1
whatsmars-dubbo/whatsmars-dubbo-provider/src/main/java/com/itlong/whatsmars/dubbo/demo/provider/UserServiceImpl.java
...itlong/whatsmars/dubbo/demo/provider/UserServiceImpl.java
+1
-1
whatsmars-dubbo/whatsmars-dubbo-provider/src/main/resources/spring/dubbo-demo-provider.xml
...rovider/src/main/resources/spring/dubbo-demo-provider.xml
+2
-2
未找到文件。
whatsmars-dubbo/whatsmars-dubbo-api/src/main/java/com/itlong/whatsmars/dubbo/demo/DemoService.java
→
whatsmars-dubbo/whatsmars-dubbo-api/src/main/java/com/itlong/whatsmars/dubbo/demo/
api/
DemoService.java
浏览文件 @
5a691053
/**
* Created by shenhongxi on 2017/6/21.
*/
package
com.itlong.whatsmars.dubbo.demo
;
package
com.itlong.whatsmars.dubbo.demo
.api
;
public
interface
DemoService
{
...
...
whatsmars-dubbo/whatsmars-dubbo-api/src/main/java/com/itlong/whatsmars/dubbo/demo/UserService.java
→
whatsmars-dubbo/whatsmars-dubbo-api/src/main/java/com/itlong/whatsmars/dubbo/demo/
api/
UserService.java
浏览文件 @
5a691053
/**
* Created by shenhongxi on 2017/6/21.
*/
package
com.itlong.whatsmars.dubbo.demo
;
package
com.itlong.whatsmars.dubbo.demo
.api
;
public
interface
UserService
{
...
...
whatsmars-dubbo/whatsmars-dubbo-consumer-boot/src/main/java/com/whatsmars/dubbo/demo/consumer/rpc/DemoRpc.java
浏览文件 @
5a691053
package
com.whatsmars.dubbo.demo.consumer.rpc
;
import
com.alibaba.dubbo.config.annotation.Reference
;
import
com.itlong.whatsmars.dubbo.demo.DemoService
;
import
com.itlong.whatsmars.dubbo.demo.
api.
DemoService
;
import
org.springframework.stereotype.Component
;
/**
...
...
whatsmars-dubbo/whatsmars-dubbo-consumer/src/main/resources/spring/dubbo-demo-consumer.xml
浏览文件 @
5a691053
...
...
@@ -25,7 +25,7 @@
<!--<!– 使用zookeeper注册中心暴露服务地址 –>-->
<!--<dubbo:registry address="zookeeper://127.0.0.1:2181" />-->
<dubbo:reference
id=
"demoService"
interface=
"com.itlong.whatsmars.dubbo.demo.DemoService"
/>
<dubbo:reference
id=
"userService"
interface=
"com.itlong.whatsmars.dubbo.demo.UserService"
/>
<dubbo:reference
id=
"demoService"
interface=
"com.itlong.whatsmars.dubbo.demo.
api.
DemoService"
/>
<dubbo:reference
id=
"userService"
interface=
"com.itlong.whatsmars.dubbo.demo.
api.
UserService"
/>
</beans>
\ No newline at end of file
whatsmars-dubbo/whatsmars-dubbo-provider-boot/src/main/java/com/whatsmars/dubbo/demo/provider/resource/DemoServiceImpl.java
浏览文件 @
5a691053
...
...
@@ -5,7 +5,7 @@ package com.whatsmars.dubbo.demo.provider.resource;
import
com.alibaba.dubbo.config.annotation.Service
;
import
com.alibaba.dubbo.rpc.RpcContext
;
import
com.itlong.whatsmars.dubbo.demo.DemoService
;
import
com.itlong.whatsmars.dubbo.demo.
api.
DemoService
;
import
java.text.SimpleDateFormat
;
import
java.util.Date
;
...
...
whatsmars-dubbo/whatsmars-dubbo-provider/src/main/java/com/itlong/whatsmars/dubbo/demo/provider/DemoServiceImpl.java
浏览文件 @
5a691053
...
...
@@ -4,7 +4,7 @@
package
com.itlong.whatsmars.dubbo.demo.provider
;
import
com.alibaba.dubbo.rpc.RpcContext
;
import
com.itlong.whatsmars.dubbo.demo.DemoService
;
import
com.itlong.whatsmars.dubbo.demo.
api.
DemoService
;
import
java.text.SimpleDateFormat
;
import
java.util.Date
;
...
...
whatsmars-dubbo/whatsmars-dubbo-provider/src/main/java/com/itlong/whatsmars/dubbo/demo/provider/UserServiceImpl.java
浏览文件 @
5a691053
...
...
@@ -4,7 +4,7 @@
package
com.itlong.whatsmars.dubbo.demo.provider
;
import
com.alibaba.dubbo.rpc.RpcContext
;
import
com.itlong.whatsmars.dubbo.demo.UserService
;
import
com.itlong.whatsmars.dubbo.demo.
api.
UserService
;
import
java.text.SimpleDateFormat
;
import
java.util.Date
;
...
...
whatsmars-dubbo/whatsmars-dubbo-provider/src/main/resources/spring/dubbo-demo-provider.xml
浏览文件 @
5a691053
...
...
@@ -30,7 +30,7 @@
<bean
id=
"demoService"
class=
"com.itlong.whatsmars.dubbo.demo.provider.DemoServiceImpl"
/>
<bean
id=
"userService"
class=
"com.itlong.whatsmars.dubbo.demo.provider.UserServiceImpl"
/>
<dubbo:service
interface=
"com.itlong.whatsmars.dubbo.demo.DemoService"
ref=
"demoService"
/>
<dubbo:service
interface=
"com.itlong.whatsmars.dubbo.demo.UserService"
ref=
"userService"
/>
<dubbo:service
interface=
"com.itlong.whatsmars.dubbo.demo.
api.
DemoService"
ref=
"demoService"
/>
<dubbo:service
interface=
"com.itlong.whatsmars.dubbo.demo.
api.
UserService"
ref=
"userService"
/>
</beans>
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录