@Endpoint(value="refresh") public class RefreshEndpoint extends java.lang.Object
Exposes an Endpoint to refresh application state via a RefreshEvent.
RefreshScope, 
RefreshEvent, 
Refreshable| Constructor and Description | 
|---|
RefreshEndpoint(Environment environment,
               ApplicationEventPublisher<RefreshEvent> eventPublisher)  | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.String[] | 
refresh(java.lang.Boolean force)
Refresh application state only if environment has changed (unless  
force is set to true). | 
public RefreshEndpoint(Environment environment, ApplicationEventPublisher<RefreshEvent> eventPublisher)
environment - The EnvironmenteventPublisher - The Application event publisher@Write public java.lang.String[] refresh(@Nullable java.lang.Boolean force)
force is set to true).force - Nullable body property to indicate whether to force all Refreshable beans to be refreshed