Class ServletWebServerApplicationContext.ExistingWebApplicationScopes
java.lang.Object
org.springframework.boot.web.server.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.
- Since:
- 2.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionExistingWebApplicationScopes(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()
-