提交 bf9b1233 编写于 作者: 武汉红喜's avatar 武汉红喜

rename package name

上级 f19e46f6
......@@ -16,7 +16,7 @@
<properties>
<!-- The main class to start by executing java -jar -->
<start-class>com.whatsmars.motan.consumer.App</start-class>
<start-class>org.hongxi.whatsmars.motan.consumer.App</start-class>
</properties>
<dependencyManagement>
......
package com.whatsmars.motan.consumer;
package org.hongxi.whatsmars.motan.consumer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
......
package com.whatsmars.motan.consumer;
package org.hongxi.whatsmars.motan.consumer;
import com.whatsmars.motan.api.MotanDemoService;
import org.hongxi.whatsmars.motan.api.MotanDemoService;
import org.springframework.boot.CommandLineRunner;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;
......
package com.whatsmars.motan.consumer;
package org.hongxi.whatsmars.motan.consumer;
import com.weibo.api.motan.common.MotanConstants;
import com.weibo.api.motan.util.MotanSwitcherUtil;
......
......@@ -34,7 +34,7 @@
<!-- 具体referer配置。使用方通过beanid使用服务接口类 -->
<motan:referer id="motanDemoService"
interface="com.whatsmars.motan.api.MotanDemoService"
interface="org.hongxi.whatsmars.motan.api.MotanDemoService"
connectTimeout="300" requestTimeout="300" basicReferer="motantestClientBasicConfig"/>
</beans>
\ No newline at end of file
......@@ -16,7 +16,7 @@
<properties>
<!-- The main class to start by executing java -jar -->
<start-class>com.whatsmars.motan.provider.App</start-class>
<start-class>org.hongxi.whatsmars.motan.provider.App</start-class>
</properties>
......
package com.whatsmars.motan.provider;
package org.hongxi.whatsmars.motan.provider;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
......
package com.whatsmars.motan.provider;
package org.hongxi.whatsmars.motan.provider;
import com.weibo.api.motan.common.MotanConstants;
import com.weibo.api.motan.util.MotanSwitcherUtil;
......
......@@ -14,9 +14,9 @@
* limitations under the License.
*/
package com.whatsmars.motan.provider.resource;
package org.hongxi.whatsmars.motan.provider.resource;
import com.whatsmars.motan.api.MotanDemoService;
import org.hongxi.whatsmars.motan.api.MotanDemoService;
import org.springframework.stereotype.Service;
@Service("motanDemoService")
......
......@@ -40,10 +40,10 @@
application="myMotanDemo" registry="registry" id="serviceBasicConfig"/>
<!-- 具体rpc服务配置,声明实现的接口类。-->
<motan:service interface="com.whatsmars.motan.api.MotanDemoService"
<motan:service interface="org.hongxi.whatsmars.motan.api.MotanDemoService"
ref="motanDemoService" export="demoMotan:8001" basicService="serviceBasicConfig">
</motan:service>
<motan:service interface="com.whatsmars.motan.api.MotanDemoService"
<motan:service interface="org.hongxi.whatsmars.motan.api.MotanDemoService"
ref="motanDemoService" export="demoMotan:8002" basicService="serviceBasicConfig">
</motan:service>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册