open static fun registerEnvironmentBeans(bf: ConfigurableListableBeanFactory, @Nullable sc: ServletContext): Unit
Register web-specific environment beans ("contextParameters", "contextAttributes") with the given BeanFactory, as used by the WebApplicationContext.
bf - the BeanFactory to configure
sc - the ServletContext that we're running within
open static fun registerEnvironmentBeans(bf: ConfigurableListableBeanFactory, @Nullable servletContext: ServletContext, @Nullable servletConfig: ServletConfig): Unit
Register web-specific environment beans ("contextParameters", "contextAttributes") with the given BeanFactory, as used by the WebApplicationContext.
bf - the BeanFactory to configure
servletContext - the ServletContext that we're running within