spring boot与dubbo的API依赖管理

This commit is contained in:
程序猿DD
2016-07-14 14:52:05 +08:00
committed by zhaiyongchao
parent aae309df5a
commit 90dcb48bbb
15 changed files with 413 additions and 0 deletions
@@ -0,0 +1,10 @@
package com.didispace.service;
/**
* Created by zhaiyc on 2016/7/14.
*/
public interface ComputeService {
Integer add(int a, int b);
}
@@ -0,0 +1,15 @@
package com.didispace.service.impl;
import com.didispace.service.ComputeService;
/**
* Created by zhaiyc on 2016/7/14.
*/
public class ComputeServiceImpl implements ComputeService {
@Override
public Integer add(int a, int b) {
return a + b;
}
}