RpcBootstrap implements LifeCycle { @Override public void start() { logger.info("init configuration, props path is {}", propPath); initRegistry(); List<RpcDesc> rpcDescs = scanRpcDescList(); saveToRegisterCenter(rpcDescs); try { openServer(); } catch (Throwable e) { logger.error("启动服务器失败", e); return; } } RpcBootstrap();  RpcBootstrap(String propPath); @Override void start(); @Override void stop(); @Override boolean isRunning(); String getPropPath(); void setPropPath(String propPath); static final String DEFAULT_RPC_PROPERTIES_PATH; }
@Test public void start() { bootstrap.start(); }