BeanDefinitionOrderRunnerConfig Class — spring-boot Architecture
Architecture documentation for the BeanDefinitionOrderRunnerConfig class in SpringApplicationTests.java from the spring-boot codebase.
Entity Profile
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/SpringApplicationTests.java lines 1752–1775
@Configuration(proxyBeanMethods = false)
static class BeanDefinitionOrderRunnerConfig {
private final List<String> runners = new ArrayList<>();
@Bean
@Order
CommandLineRunner runnerC() {
return (args) -> this.runners.add("runnerC");
}
@Bean
@Order(Ordered.LOWEST_PRECEDENCE - 1)
ApplicationRunner runnerB() {
return (args) -> this.runners.add("runnerB");
}
@Bean
@Order(Ordered.HIGHEST_PRECEDENCE)
CommandLineRunner runnerA() {
return (args) -> this.runners.add("runnerA");
}
}
Domain
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free