-
Notifications
You must be signed in to change notification settings - Fork 41
/
DubboInterfaceImpl.java
84 lines (68 loc) · 1.76 KB
/
DubboInterfaceImpl.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
package com.power.doc.dubbo.impl;
import com.power.common.model.CommonResult;
import com.power.doc.dubbo.DubboInterface;
import com.power.doc.entity.BasePager;
import com.power.doc.entity.Order;
import com.power.doc.entity.ResultUtil;
import com.power.doc.entity.SimpleUser;
import org.apache.dubbo.config.annotation.DubboService;
import java.util.List;
/**
* 实现dubbo接口
*
* @author yusun
* @version 2.0.0
* @dubbo
* @service test
* @protocol dubbo
*/
@DubboService(interfaceName = "test", protocol = "grpc", version = "2.0.0")
public class DubboInterfaceImpl implements DubboInterface {
@Override
public Order testConstantsRequestParam(Order orderList) {
return null;
}
@Override
public Order testConstantsRequestParam(Order order, String aa) {
return null;
}
/**
* 12测试方法testConstantsRequestParam333
*
* @param order order
* @param aa aa
* @return dfd
*/
public Order testConstantsRequestParam333(Order order, String aa) {
return null;
}
@Override
public CommonResult<Order> testConstantsRequestParams(ResultUtil<Order>[] orderList) {
return null;
}
@Override
public CommonResult<List<Order>> testConstantsRequestParams2(List<Order> orderList) {
return null;
}
@Override
public CommonResult<SimpleUser> testSetParams(SimpleUser simpleUser) {
return null;
}
@Override
public void sayHelloC() {
}
@Override
public void sayHelloB() {
}
@Override
public Integer common(BasePager param) {
return 0;
}
@Override
public void common2(List<BasePager> result) {
}
@Override
public BasePager common3(List<BasePager> result) {
return null;
}
}