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. */ public class ZhengApiRpcServiceApplication { private static Logger _log = LoggerFactory.getLogger(ZhengApiRpcServiceApplication.class); public static void main(String[] args) { _log.info(">>>>> zheng-api-rpc-service 正在启动 <<<<<"); new ClassPathXmlApplicationContext("classpath:META-INF/spring/*.xml"); _log.info(">>>>> zheng-api-rpc-service 启动完成 <<<<<"); } }