dubbo按部就班 - yml配置

Dubbo首先使用com.alibaba.dubbo.config.spring.schema.NamespaceHandler注册解析器,当spring解析xml配置文件时就会调用这些解析器生成对应的BeanDefinition交给spring管理java

 

启动jar项目spring

 

java -jar x.jar  --spring.profiles.active=local --server.port=8000spa

 不间断后台运行程序server

nohup java -jar x.jar  --spring.profiles.active=test --server.port=8000 &xml

相关文章
相关标签/搜索