-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Closed
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancementA general enhancement
Milestone
Description
Phil Webb opened SPR-14213 and commented
SpringServletContainerInitializer currently finds, initializes and logs all WebApplicationInitializer implementations in onStartup. With Spring Boot this can be a little confusing because initializers might be conditional. We can't use the usual @Condition annotation since the ApplicationContext hasn't been created yet, but perhaps we could add a ConditionalWebApplicationInitializer extension to WebApplicationInitializer with an additional isActive() method.
See spring-projects/spring-boot#5778 for the original Boot bug.
Affects: 4.2.5, 4.3 RC1
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancementA general enhancement