File tree 1 file changed +4
-1
lines changed
spring-boot/src/main/java/org/springframework/boot/context/web
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 46
46
* To configure the application either override the
47
47
* {@link #configure(SpringApplicationBuilder)} method (calling
48
48
* {@link SpringApplicationBuilder#sources(Object...)}) or make the initializer itself a
49
- * {@code @Configuration}.
49
+ * {@code @Configuration}. If you are using {@link SpringBootServletInitializer} in
50
+ * combination with other {@link WebApplicationInitializer WebApplicationInitializers} you
51
+ * might also want to add an {@code @Ordered} annotation to configure a specific startup
52
+ * order.
50
53
* <p>
51
54
* Note that a WebApplicationInitializer is only needed if you are building a war file and
52
55
* deploying it. If you prefer to run an embedded container then you won't need this at
You can’t perform that action at this time.
0 commit comments