Class ServletWebServerApplicationContext.ExistingWebApplicationScopes
java.lang.Object
org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.ExistingWebApplicationScopes
- Enclosing class:
- ServletWebServerApplicationContext
Utility class to store and restore any user defined scopes. This allows scopes to
be registered in an ApplicationContextInitializer in the same way as they would in
a classic non-embedded web application context.
-
Constructor Summary
ConstructorDescriptionExistingWebApplicationScopes
(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) -
Method Summary
-
Constructor Details
-
ExistingWebApplicationScopes
public ExistingWebApplicationScopes(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
-
-
Method Details
-
restore
public void restore()
-