ConfigurableWebApplicationContext needed for contextClass parameter

Issue: SPR-17414
This commit is contained in:
Juergen Hoeller
2018-10-24 22:06:48 +02:00
parent 46bc145196
commit 448182fa5c

View File

@@ -452,8 +452,8 @@ initialization parameters ( `init-param` elements) to the Servlet declaration in
| Parameter| Explanation
| `contextClass`
| Class that implements `WebApplicationContext`, which instantiates the context used by
this Servlet. By default, the `XmlWebApplicationContext` is used.
| Class that implements `ConfigurableWebApplicationContext`, to be instantiated and
locally configured by this Servlet. By default, `XmlWebApplicationContext` is used.
| `contextConfigLocation`
| String that is passed to the context instance (specified by `contextClass`) to