【springboot】基于springboot运行原理实现springboot的自动配置
本文参照Http编码的配置源码,自己实现一个starter。 1.新建maven工程。 在pom.xml中修改,添加autoconfigure依赖:<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:sc...
原创
2018-04-03 17:51:52 ·
531 阅读 ·
0 评论