Class RestartScopeInitializer
java.lang.Object
org.springframework.boot.devtools.restart.RestartScopeInitializer
- All Implemented Interfaces:
ApplicationContextInitializer<ConfigurableApplicationContext>
public class RestartScopeInitializer
extends Object
implements ApplicationContextInitializer<ConfigurableApplicationContext>
Support for a 'restart'
Scope
that allows beans to remain between restarts.- Since:
- 1.3.0
- Author:
- Phillip Webb
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
initialize
(ConfigurableApplicationContext applicationContext)
-
Constructor Details
-
RestartScopeInitializer
public RestartScopeInitializer()
-
-
Method Details
-
initialize
- Specified by:
initialize
in interfaceApplicationContextInitializer<ConfigurableApplicationContext>
-