Javadoc SpringBootServletInitializer with @Ordered
Fixes gh-2098
This commit is contained in:
parent
47469ab103
commit
f49d3518a8
|
|
@ -46,7 +46,10 @@ import org.springframework.web.context.WebApplicationContext;
|
||||||
* To configure the application either override the
|
* To configure the application either override the
|
||||||
* {@link #configure(SpringApplicationBuilder)} method (calling
|
* {@link #configure(SpringApplicationBuilder)} method (calling
|
||||||
* {@link SpringApplicationBuilder#sources(Object...)}) or make the initializer itself a
|
* {@link SpringApplicationBuilder#sources(Object...)}) or make the initializer itself a
|
||||||
* {@code @Configuration}.
|
* {@code @Configuration}. If you are using {@link SpringBootServletInitializer} in
|
||||||
|
* combination with other {@link WebApplicationInitializer WebApplicationInitializers} you
|
||||||
|
* might also want to add an {@code @Ordered} annotation to configure a specific startup
|
||||||
|
* order.
|
||||||
* <p>
|
* <p>
|
||||||
* Note that a WebApplicationInitializer is only needed if you are building a war file and
|
* Note that a WebApplicationInitializer is only needed if you are building a war file and
|
||||||
* deploying it. If you prefer to run an embedded container then you won't need this at
|
* deploying it. If you prefer to run an embedded container then you won't need this at
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue