Closes gh-5013
This commit is contained in:
Johnny Lim
2016-01-23 09:26:50 +09:00
committed by Stephane Nicoll
parent 4c1bb38878
commit 9a31e02806
4 changed files with 6 additions and 6 deletions

View File

@@ -1824,8 +1824,8 @@ inside a war will break Spring Boot applications.
If you need to perform servlet context initialization in a Spring Boot application, you
should register a bean that implements the
`org.springframework.boot.context.embedded.ServletContextInitializer` interface. The
single `onStartup` method provides access to the `ServletContext`, and can easily be used
as an adapter to an existing `WebApplicationInitializer if necessary.
single `onStartup` method provides access to the `ServletContext`, and can easily be used
as an adapter to an existing `WebApplicationInitializer` if necessary.