load() — spring-boot Function Reference
Architecture documentation for the load() function in ServletContextInitializerBeansTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 541ac0f3_54ac_9bf9_4f68_62606fccc254["load()"] 6679e7cd_ab72_d63e_b402_56b3978a72a5["servletThatImplementsServletContextInitializerIsOnlyRegisteredOnce()"] 6679e7cd_ab72_d63e_b402_56b3978a72a5 -->|calls| 541ac0f3_54ac_9bf9_4f68_62606fccc254 302317ad_c825_a3f7_6443_793e1bf6056c["filterThatImplementsServletContextInitializerIsOnlyRegisteredOnce()"] 302317ad_c825_a3f7_6443_793e1bf6056c -->|calls| 541ac0f3_54ac_9bf9_4f68_62606fccc254 f4dfd540_02ae_ab75_c2fd_a29eba507bb3["looksForInitializerBeansOfSpecifiedType()"] f4dfd540_02ae_ab75_c2fd_a29eba507bb3 -->|calls| 541ac0f3_54ac_9bf9_4f68_62606fccc254 d1033140_07d6_cb85_15a1_c7dde0c5505d["whenAnHttpSessionIdListenerBeanIsDefinedThenARegistrationBeanIsCreatedForIt()"] d1033140_07d6_cb85_15a1_c7dde0c5505d -->|calls| 541ac0f3_54ac_9bf9_4f68_62606fccc254 bdcad489_5c15_9f8f_7af7_70a4a233b8cc["classesThatImplementMultipleInterfacesAreRegisteredForAllOfThem()"] bdcad489_5c15_9f8f_7af7_70a4a233b8cc -->|calls| 541ac0f3_54ac_9bf9_4f68_62606fccc254 425fb3ae_542d_84fc_a752_5418cf46293b["shouldApplyServletRegistrationAnnotation()"] 425fb3ae_542d_84fc_a752_5418cf46293b -->|calls| 541ac0f3_54ac_9bf9_4f68_62606fccc254 49bdf898_fdac_23df_4c40_a6e137bd23b0["shouldApplyFilterRegistrationAnnotation()"] 49bdf898_fdac_23df_4c40_a6e137bd23b0 -->|calls| 541ac0f3_54ac_9bf9_4f68_62606fccc254 58469e06_4c84_7dfd_a844_f834096b05e7["shouldApplyFilterRegistrationAnnotationWithDefaultDispatcherTypes()"] 58469e06_4c84_7dfd_a844_f834096b05e7 -->|calls| 541ac0f3_54ac_9bf9_4f68_62606fccc254 6fc3cb3a_556f_6308_e9a6_ea2cfa892d40["shouldApplyOrderFromBean()"] 6fc3cb3a_556f_6308_e9a6_ea2cfa892d40 -->|calls| 541ac0f3_54ac_9bf9_4f68_62606fccc254 8d6dced4_6f0f_a8b0_a472_17bc2bb76e59["shouldApplyOrderFromOrderAnnotationOnBeanMethod()"] 8d6dced4_6f0f_a8b0_a472_17bc2bb76e59 -->|calls| 541ac0f3_54ac_9bf9_4f68_62606fccc254 f341a8e5_c9ae_d8b7_0762_c3faa9b2170c["orderedInterfaceShouldTakePrecedenceOverOrderAnnotation()"] f341a8e5_c9ae_d8b7_0762_c3faa9b2170c -->|calls| 541ac0f3_54ac_9bf9_4f68_62606fccc254 cf999e45_9b5e_0b70_4271_cdf2b8a4bd07["shouldApplyOrderFromOrderAttribute()"] cf999e45_9b5e_0b70_4271_cdf2b8a4bd07 -->|calls| 541ac0f3_54ac_9bf9_4f68_62606fccc254 style 541ac0f3_54ac_9bf9_4f68_62606fccc254 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/web/servlet/ServletContextInitializerBeansTests.java lines 220–222
private void load(Class<?>... configuration) {
this.context = new AnnotationConfigApplicationContext(configuration);
}
Domain
Subdomains
Called By
- classesThatImplementMultipleInterfacesAreRegisteredForAllOfThem()
- filterThatImplementsServletContextInitializerIsOnlyRegisteredOnce()
- looksForInitializerBeansOfSpecifiedType()
- orderedInterfaceShouldTakePrecedenceOverOrderAnnotation()
- servletThatImplementsServletContextInitializerIsOnlyRegisteredOnce()
- shouldApplyFilterRegistrationAnnotation()
- shouldApplyFilterRegistrationAnnotationWithDefaultDispatcherTypes()
- shouldApplyOrderFromBean()
- shouldApplyOrderFromOrderAnnotationOnBeanMethod()
- shouldApplyOrderFromOrderAttribute()
- shouldApplyServletRegistrationAnnotation()
- whenAnHttpSessionIdListenerBeanIsDefinedThenARegistrationBeanIsCreatedForIt()
Source
Frequently Asked Questions
What does load() do?
load() is a function in the spring-boot codebase.
What calls load()?
load() is called by 12 function(s): classesThatImplementMultipleInterfacesAreRegisteredForAllOfThem, filterThatImplementsServletContextInitializerIsOnlyRegisteredOnce, looksForInitializerBeansOfSpecifiedType, orderedInterfaceShouldTakePrecedenceOverOrderAnnotation, servletThatImplementsServletContextInitializerIsOnlyRegisteredOnce, shouldApplyFilterRegistrationAnnotation, shouldApplyFilterRegistrationAnnotationWithDefaultDispatcherTypes, shouldApplyOrderFromBean, and 4 more.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free