open static fun registerWebApplicationScopes(beanFactory: ConfigurableListableBeanFactory): Unit
Register web-specific scopes ("request", "session", "globalSession") with the given BeanFactory, as used by the WebApplicationContext.
beanFactory - the BeanFactory to configure
open static fun registerWebApplicationScopes(beanFactory: ConfigurableListableBeanFactory, @Nullable sc: ServletContext): Unit
Register web-specific scopes ("request", "session", "globalSession", "application") with the given BeanFactory, as used by the WebApplicationContext.