org.springframework.boot.web.servlet.context

Class ServletWebServerApplicationContext.ExistingWebApplicationScopes

  • java.lang.Object
    • org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.ExistingWebApplicationScopes
  • Enclosing class:
    ServletWebServerApplicationContext


    public static class ServletWebServerApplicationContext.ExistingWebApplicationScopes
    extends java.lang.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 and Description
      ExistingWebApplicationScopes(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void restore() 
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ExistingWebApplicationScopes

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

      • restore

        public void restore()