onApplicationEnvironmentPreparedEvent() — spring-boot Function Reference
Architecture documentation for the onApplicationEnvironmentPreparedEvent() function in LoggingApplicationListener.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD a34e7b09_f065_7373_f4bc_df6d5d30ee39["onApplicationEnvironmentPreparedEvent()"] b564cced_f4c5_d5d5_9b54_9c77be901b07["onApplicationEvent()"] b564cced_f4c5_d5d5_9b54_9c77be901b07 -->|calls| a34e7b09_f065_7373_f4bc_df6d5d30ee39 be22d695_81d3_ca24_90d4_9385a402a390["getClassLoader()"] a34e7b09_f065_7373_f4bc_df6d5d30ee39 -->|calls| be22d695_81d3_ca24_90d4_9385a402a390 81d3722d_c4b6_44b8_92ad_5eddf72c432c["initialize()"] a34e7b09_f065_7373_f4bc_df6d5d30ee39 -->|calls| 81d3722d_c4b6_44b8_92ad_5eddf72c432c 4baf3fc6_621e_dcfc_aa6f_e5b082e8d6d7["getEnvironment()"] a34e7b09_f065_7373_f4bc_df6d5d30ee39 -->|calls| 4baf3fc6_621e_dcfc_aa6f_e5b082e8d6d7 c90d60de_6e4d_b157_5121_acbc78d427f0["get()"] a34e7b09_f065_7373_f4bc_df6d5d30ee39 -->|calls| c90d60de_6e4d_b157_5121_acbc78d427f0 style a34e7b09_f065_7373_f4bc_df6d5d30ee39 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/context/logging/LoggingApplicationListener.java lines 243–249
private void onApplicationEnvironmentPreparedEvent(ApplicationEnvironmentPreparedEvent event) {
SpringApplication springApplication = event.getSpringApplication();
if (this.loggingSystem == null) {
this.loggingSystem = LoggingSystem.get(springApplication.getClassLoader());
}
initialize(event.getEnvironment(), springApplication.getClassLoader());
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does onApplicationEnvironmentPreparedEvent() do?
onApplicationEnvironmentPreparedEvent() is a function in the spring-boot codebase.
What does onApplicationEnvironmentPreparedEvent() call?
onApplicationEnvironmentPreparedEvent() calls 4 function(s): get, getClassLoader, getEnvironment, initialize.
What calls onApplicationEnvironmentPreparedEvent()?
onApplicationEnvironmentPreparedEvent() is called by 1 function(s): onApplicationEvent.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free