@Configuration(proxyBeanMethods=false) @AutoConfigureAfter(name="org.springframework.cloud.autoconfigure.RefreshAutoConfiguration") public class BusRefreshAutoConfiguration extends Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
BusRefreshAutoConfiguration.BusRefreshEndpointConfiguration |
| Constructor and Description |
|---|
BusRefreshAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
RefreshListener |
refreshListener(org.springframework.cloud.context.refresh.ContextRefresher contextRefresher,
ServiceMatcher serviceMatcher) |
@Bean
@ConditionalOnProperty(value="spring.cloud.bus.refresh.enabled",
matchIfMissing=true)
@ConditionalOnBean(value=org.springframework.cloud.context.refresh.ContextRefresher.class)
public RefreshListener refreshListener(org.springframework.cloud.context.refresh.ContextRefresher contextRefresher,
ServiceMatcher serviceMatcher)
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.