摘要:
1、接口规范 @FunctionalInterface public interface SpringBootExceptionReporter { /** * Report a startup failure to the user. * @param failure the source fai 阅读全文
posted @ 2020-03-01 21:29 work hard work smart 阅读(851) 评论(0) 推荐(0)
|
|||
|
摘要:
1、接口规范 @FunctionalInterface public interface SpringBootExceptionReporter { /** * Report a startup failure to the user. * @param failure the source fai 阅读全文
posted @ 2020-03-01 21:29 work hard work smart 阅读(851) 评论(0) 推荐(0)
摘要:
进入上一篇使用profile的load()方法(ConfigFileApplicationListener类中) 1、initializeProfiles(); 1)进入initializeProfiles方法。初始化Profiles,将所有的profile增加到prifiles集合中 privat 阅读全文
posted @ 2020-03-01 15:24 work hard work smart 阅读(439) 评论(0) 推荐(0)
摘要:
在上一篇中,我们的类加载器使用environment获取一些属性,如下图 下面我们介绍下environment的使用 1、进入启动方法run,定位到prepareEnvironment方法 2、进到prepareEnvironment方法 3、进入getOrCreateEnvironment方法。实 阅读全文
posted @ 2020-03-01 12:24 work hard work smart 阅读(12014) 评论(0) 推荐(0) |
|||