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