springboot的注解

1.@ConfigurationProperties

功能:装载配置文件信息到实体

原理:aop,通知类型:?(方法或对象创建完后)

注意:作用于方法上可以不需要改源码(例如durid配置)

转载:https://www.cnblogs.com/liaojie970/p/8043150.html

2.@AutoConfigureAfter

功能:加载配置的类之后再加载当前类

原文地址:https://www.cnblogs.com/SmilingEye/p/11178920.html