Class RestartScopeInitializer

java.lang.Object
org.springframework.boot.devtools.restart.RestartScopeInitializer
All Implemented Interfaces:
org.springframework.context.ApplicationContextInitializer<org.springframework.context.ConfigurableApplicationContext>

public class RestartScopeInitializer extends Object implements org.springframework.context.ApplicationContextInitializer<org.springframework.context.ConfigurableApplicationContext>
Support for a 'restart' Scope that allows beans to remain between restarts.
Since:
1.3.0
  • Constructor Details

    • RestartScopeInitializer

      public RestartScopeInitializer()
  • Method Details

    • initialize

      public void initialize(org.springframework.context.ConfigurableApplicationContext applicationContext)
      Specified by:
      initialize in interface org.springframework.context.ApplicationContextInitializer<org.springframework.context.ConfigurableApplicationContext>