ServletContextApplicationContextInitializer

constructor(servletContext: ServletContext)

Create a new ServletContextApplicationContextInitializer instance.

Parameters

servletContext

the servlet that should be ultimately set.


constructor(servletContext: ServletContext, addApplicationContextAttribute: Boolean)

Create a new ServletContextApplicationContextInitializer instance.

Since

1.3.4

Parameters

servletContext

the servlet that should be ultimately set.

addApplicationContextAttribute

if the ApplicationContext should bestored as an attribute in the ServletContext