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 allows scopes to be registered in an ApplicationContextInitializer in the same way as they would in a classic non-embedded web application context.
  • Constructor Details

    • ExistingWebApplicationScopes

      public ExistingWebApplicationScopes(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
  • Method Details

    • restore

      public void restore()