@Configuration @ConditionalOnClass(value=RefreshScope.class) @ConditionalOnProperty(name="spring.cloud.refresh.enabled", matchIfMissing=true) public class RefreshAutoConfiguration extends Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
RefreshAutoConfiguration.RefreshScopeConfiguration |
| Constructor and Description |
|---|
RefreshAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
ContextRefresher |
contextRefresher(org.springframework.context.ConfigurableApplicationContext context,
RefreshScope scope) |
static LoggingRebinder |
loggingRebinder() |
RefreshEventListener |
refreshEventListener(ContextRefresher contextRefresher) |
@Bean @ConditionalOnMissingBean public static LoggingRebinder loggingRebinder()
@Bean @ConditionalOnMissingBean public ContextRefresher contextRefresher(org.springframework.context.ConfigurableApplicationContext context, RefreshScope scope)
@Bean public RefreshEventListener refreshEventListener(ContextRefresher contextRefresher)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.