Class RefreshScopeLifecycle
java.lang.Object
org.springframework.cloud.context.refresh.RefreshScopeLifecycle
- All Implemented Interfaces:
org.springframework.context.Lifecycle
A
Lifecycle implementation that triggers ContextRefresher.refresh() to
be called on restart.- Since:
- 4.1.0
- Author:
- Olga Maciaszek-Sharma
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RefreshScopeLifecycle
-
-
Method Details
-
start
public void start()- Specified by:
startin interfaceorg.springframework.context.Lifecycle
-
stop
public void stop()- Specified by:
stopin interfaceorg.springframework.context.Lifecycle
-
isRunning
public boolean isRunning()- Specified by:
isRunningin interfaceorg.springframework.context.Lifecycle
-