shouldApplyOrderFromOrderAnnotationOnBeanMethod() — spring-boot Function Reference
Architecture documentation for the shouldApplyOrderFromOrderAnnotationOnBeanMethod() function in ServletContextInitializerBeansTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 8d6dced4_6f0f_a8b0_a472_17bc2bb76e59["shouldApplyOrderFromOrderAnnotationOnBeanMethod()"] 541ac0f3_54ac_9bf9_4f68_62606fccc254["load()"] 8d6dced4_6f0f_a8b0_a472_17bc2bb76e59 -->|calls| 541ac0f3_54ac_9bf9_4f68_62606fccc254 6e649de9_588e_65d5_305a_1b220d400a28["getContext()"] 8d6dced4_6f0f_a8b0_a472_17bc2bb76e59 -->|calls| 6e649de9_588e_65d5_305a_1b220d400a28 079efcce_86ee_22ae_627e_5c2cb80c3146["assertThatSingleRegistration()"] 8d6dced4_6f0f_a8b0_a472_17bc2bb76e59 -->|calls| 079efcce_86ee_22ae_627e_5c2cb80c3146 27c6d45b_e01a_a42e_b488_83d6e7af3351["getOrder()"] 8d6dced4_6f0f_a8b0_a472_17bc2bb76e59 -->|calls| 27c6d45b_e01a_a42e_b488_83d6e7af3351 style 8d6dced4_6f0f_a8b0_a472_17bc2bb76e59 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/web/servlet/ServletContextInitializerBeansTests.java lines 190–198
@Test
void shouldApplyOrderFromOrderAnnotationOnBeanMethod() {
load(ServletConfigurationWithAnnotationAndOrderAnnotation.class);
ServletContextInitializerBeans initializerBeans = new ServletContextInitializerBeans(
getContext().getBeanFactory(), TestServletContextInitializer.class);
assertThatSingleRegistration(initializerBeans, ServletRegistrationBean.class,
(servletRegistrationBean) -> assertThat(servletRegistrationBean.getOrder())
.isEqualTo(ServletConfigurationWithAnnotationAndOrderAnnotation.ORDER));
}
Domain
Subdomains
Source
Frequently Asked Questions
What does shouldApplyOrderFromOrderAnnotationOnBeanMethod() do?
shouldApplyOrderFromOrderAnnotationOnBeanMethod() is a function in the spring-boot codebase.
What does shouldApplyOrderFromOrderAnnotationOnBeanMethod() call?
shouldApplyOrderFromOrderAnnotationOnBeanMethod() calls 4 function(s): assertThatSingleRegistration, getContext, getOrder, load.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free