@Configuration @ConditionalOnClass(value=RefreshScope.class) 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) |
EnvironmentManager |
environmentManager(org.springframework.core.env.ConfigurableEnvironment environment) |
static LoggingRebinder |
loggingRebinder() |
RefreshEventListener |
refreshEventListener(ContextRefresher contextRefresher) |
@Bean @ConditionalOnMissingBean public static LoggingRebinder loggingRebinder()
@Bean @ConditionalOnMissingBean public EnvironmentManager environmentManager(org.springframework.core.env.ConfigurableEnvironment environment)
@Bean @ConditionalOnMissingBean public ContextRefresher contextRefresher(org.springframework.context.ConfigurableApplicationContext context, RefreshScope scope)
@Bean public RefreshEventListener refreshEventListener(ContextRefresher contextRefresher)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.