@Configuration @ConditionalOnClass(value=RefreshScope.class) @ConditionalOnProperty(name="spring.cloud.refresh.enabled", matchIfMissing=true) @AutoConfigureBefore(value=org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration.class) public class RefreshAutoConfiguration extends Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
RefreshAutoConfiguration.JpaInvokerConfiguration |
protected static class |
RefreshAutoConfiguration.RefreshScopeBeanDefinitionEnhancer |
| 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) |
static RefreshScope |
refreshScope() |
@Bean @ConditionalOnMissingBean(value=RefreshScope.class) public static RefreshScope refreshScope()
@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.