This commit is contained in:
zhangshuzheng 2018-11-15 13:56:19 +08:00
commit 2371580bc0
4 changed files with 4 additions and 36 deletions

View File

@ -1,20 +1,12 @@
package com.zheng.api.rpc; package com.zheng.api.rpc;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.support.ClassPathXmlApplicationContext;
/** /**
* 服务启动类 * 服务启动类
* Created by shuzheng on 2017/2/19. * Created by shuzheng on 2017/2/19.
*/ */
public class ZhengApiRpcServiceApplication { public class ZhengApiRpcServiceApplication {
private static final Logger LOGGER = LoggerFactory.getLogger(ZhengApiRpcServiceApplication.class);
public static void main(String[] args) { public static void main(String[] args) {
LOGGER.info(">>>>> zheng-api-rpc-service 正在启动 <<<<<"); com.alibaba.dubbo.container.Main.main(args);
new ClassPathXmlApplicationContext("classpath:META-INF/spring/*.xml");
LOGGER.info(">>>>> zheng-api-rpc-service 启动完成 <<<<<");
} }
} }

View File

@ -1,21 +1,13 @@
package com.zheng.pay.rpc; package com.zheng.pay.rpc;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.support.ClassPathXmlApplicationContext;
/** /**
* 服务启动类 * 服务启动类
* Created by ZhangShuzheng on 2017/3/29. * Created by ZhangShuzheng on 2017/3/29.
*/ */
public class ZhengPayRpcServiceApplication { public class ZhengPayRpcServiceApplication {
private static final Logger LOGGER = LoggerFactory.getLogger(ZhengPayRpcServiceApplication.class);
public static void main(String[] args) { public static void main(String[] args) {
LOGGER.info(">>>>> zheng-pay-rpc-service 正在启动 <<<<<"); com.alibaba.dubbo.container.Main.main(args);
new ClassPathXmlApplicationContext("classpath:META-INF/spring/*.xml");
LOGGER.info(">>>>> zheng-pay-rpc-service 启动完成 <<<<<");
} }
} }

View File

@ -1,21 +1,13 @@
package com.zheng.ucenter.rpc; package com.zheng.ucenter.rpc;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.support.ClassPathXmlApplicationContext;
/** /**
* 服务启动类 * 服务启动类
* Created by ZhangShuzheng on 2017/6/19. * Created by ZhangShuzheng on 2017/6/19.
*/ */
public class ZhengUcenterRpcServiceApplication { public class ZhengUcenterRpcServiceApplication {
private static final Logger LOGGER = LoggerFactory.getLogger(ZhengUcenterRpcServiceApplication.class);
public static void main(String[] args) { public static void main(String[] args) {
LOGGER.info(">>>>> zheng-ucenter-rpc-service 正在启动 <<<<<"); com.alibaba.dubbo.container.Main.main(args);
new ClassPathXmlApplicationContext("classpath:META-INF/spring/*.xml");
LOGGER.info(">>>>> zheng-ucenter-rpc-service 启动完成 <<<<<");
} }
} }

View File

@ -1,21 +1,13 @@
package com.zheng.upms.rpc; package com.zheng.upms.rpc;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.support.ClassPathXmlApplicationContext;
/** /**
* 服务启动类 * 服务启动类
* Created by ZhangShuzheng on 2017/2/3. * Created by ZhangShuzheng on 2017/2/3.
*/ */
public class ZhengUpmsRpcServiceApplication { public class ZhengUpmsRpcServiceApplication {
private static final Logger LOGGER = LoggerFactory.getLogger(ZhengUpmsRpcServiceApplication.class);
public static void main(String[] args) { public static void main(String[] args) {
LOGGER.info(">>>>> zheng-upms-rpc-service 正在启动 <<<<<"); com.alibaba.dubbo.container.Main.main(args);
new ClassPathXmlApplicationContext("classpath:META-INF/spring/*.xml");
LOGGER.info(">>>>> zheng-upms-rpc-service 启动完成 <<<<<");
} }
} }