getContext() — spring-boot Function Reference
Architecture documentation for the getContext() function in ServletContextInitializerBeansTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 6e649de9_588e_65d5_305a_1b220d400a28["getContext()"] 6679e7cd_ab72_d63e_b402_56b3978a72a5["servletThatImplementsServletContextInitializerIsOnlyRegisteredOnce()"] 6679e7cd_ab72_d63e_b402_56b3978a72a5 -->|calls| 6e649de9_588e_65d5_305a_1b220d400a28 302317ad_c825_a3f7_6443_793e1bf6056c["filterThatImplementsServletContextInitializerIsOnlyRegisteredOnce()"] 302317ad_c825_a3f7_6443_793e1bf6056c -->|calls| 6e649de9_588e_65d5_305a_1b220d400a28 f4dfd540_02ae_ab75_c2fd_a29eba507bb3["looksForInitializerBeansOfSpecifiedType()"] f4dfd540_02ae_ab75_c2fd_a29eba507bb3 -->|calls| 6e649de9_588e_65d5_305a_1b220d400a28 d1033140_07d6_cb85_15a1_c7dde0c5505d["whenAnHttpSessionIdListenerBeanIsDefinedThenARegistrationBeanIsCreatedForIt()"] d1033140_07d6_cb85_15a1_c7dde0c5505d -->|calls| 6e649de9_588e_65d5_305a_1b220d400a28 bdcad489_5c15_9f8f_7af7_70a4a233b8cc["classesThatImplementMultipleInterfacesAreRegisteredForAllOfThem()"] bdcad489_5c15_9f8f_7af7_70a4a233b8cc -->|calls| 6e649de9_588e_65d5_305a_1b220d400a28 425fb3ae_542d_84fc_a752_5418cf46293b["shouldApplyServletRegistrationAnnotation()"] 425fb3ae_542d_84fc_a752_5418cf46293b -->|calls| 6e649de9_588e_65d5_305a_1b220d400a28 49bdf898_fdac_23df_4c40_a6e137bd23b0["shouldApplyFilterRegistrationAnnotation()"] 49bdf898_fdac_23df_4c40_a6e137bd23b0 -->|calls| 6e649de9_588e_65d5_305a_1b220d400a28 58469e06_4c84_7dfd_a844_f834096b05e7["shouldApplyFilterRegistrationAnnotationWithDefaultDispatcherTypes()"] 58469e06_4c84_7dfd_a844_f834096b05e7 -->|calls| 6e649de9_588e_65d5_305a_1b220d400a28 6fc3cb3a_556f_6308_e9a6_ea2cfa892d40["shouldApplyOrderFromBean()"] 6fc3cb3a_556f_6308_e9a6_ea2cfa892d40 -->|calls| 6e649de9_588e_65d5_305a_1b220d400a28 8d6dced4_6f0f_a8b0_a472_17bc2bb76e59["shouldApplyOrderFromOrderAnnotationOnBeanMethod()"] 8d6dced4_6f0f_a8b0_a472_17bc2bb76e59 -->|calls| 6e649de9_588e_65d5_305a_1b220d400a28 f341a8e5_c9ae_d8b7_0762_c3faa9b2170c["orderedInterfaceShouldTakePrecedenceOverOrderAnnotation()"] f341a8e5_c9ae_d8b7_0762_c3faa9b2170c -->|calls| 6e649de9_588e_65d5_305a_1b220d400a28 cf999e45_9b5e_0b70_4271_cdf2b8a4bd07["shouldApplyOrderFromOrderAttribute()"] cf999e45_9b5e_0b70_4271_cdf2b8a4bd07 -->|calls| 6e649de9_588e_65d5_305a_1b220d400a28 style 6e649de9_588e_65d5_305a_1b220d400a28 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/web/servlet/ServletContextInitializerBeansTests.java lines 232–235
private ConfigurableApplicationContext getContext() {
assertThat(this.context).isNotNull();
return this.context;
}
Domain
Subdomains
Called By
- classesThatImplementMultipleInterfacesAreRegisteredForAllOfThem()
- filterThatImplementsServletContextInitializerIsOnlyRegisteredOnce()
- looksForInitializerBeansOfSpecifiedType()
- orderedInterfaceShouldTakePrecedenceOverOrderAnnotation()
- servletThatImplementsServletContextInitializerIsOnlyRegisteredOnce()
- shouldApplyFilterRegistrationAnnotation()
- shouldApplyFilterRegistrationAnnotationWithDefaultDispatcherTypes()
- shouldApplyOrderFromBean()
- shouldApplyOrderFromOrderAnnotationOnBeanMethod()
- shouldApplyOrderFromOrderAttribute()
- shouldApplyServletRegistrationAnnotation()
- whenAnHttpSessionIdListenerBeanIsDefinedThenARegistrationBeanIsCreatedForIt()
Source
Frequently Asked Questions
What does getContext() do?
getContext() is a function in the spring-boot codebase.
What calls getContext()?
getContext() 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