public class CircuitBreakerRuleChangeListener extends Object implements org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener<org.springframework.cloud.context.scope.refresh.RefreshScopeRefreshedEvent>, org.springframework.beans.factory.SmartInitializingSingleton
| Constructor and Description |
|---|
CircuitBreakerRuleChangeListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterSingletonsInstantiated() |
static void |
configureCustom(SentinelFeignClientProperties properties,
org.springframework.cloud.client.circuitbreaker.AbstractCircuitBreakerFactory factory) |
static void |
configureDefault(SentinelFeignClientProperties properties,
org.springframework.cloud.client.circuitbreaker.AbstractCircuitBreakerFactory factory) |
static Map |
getConfigurations(org.springframework.cloud.client.circuitbreaker.AbstractCircuitBreakerFactory circuitBreakerFactory) |
void |
onApplicationEvent(org.springframework.cloud.context.scope.refresh.RefreshScopeRefreshedEvent event) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
public void onApplicationEvent(org.springframework.cloud.context.scope.refresh.RefreshScopeRefreshedEvent event)
onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.cloud.context.scope.refresh.RefreshScopeRefreshedEvent>public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic void afterSingletonsInstantiated()
afterSingletonsInstantiated in interface org.springframework.beans.factory.SmartInitializingSingletonpublic static void configureCustom(SentinelFeignClientProperties properties, org.springframework.cloud.client.circuitbreaker.AbstractCircuitBreakerFactory factory)
public static void configureDefault(SentinelFeignClientProperties properties, org.springframework.cloud.client.circuitbreaker.AbstractCircuitBreakerFactory factory)
public static Map getConfigurations(org.springframework.cloud.client.circuitbreaker.AbstractCircuitBreakerFactory circuitBreakerFactory)
Copyright © 2022 Pivotal Software, Inc.. All rights reserved.