@ConditionalOnClass(value=org.springframework.boot.actuate.endpoint.annotation.Endpoint.class) @EnableConfigurationProperties(value=SentinelProperties.class) public class SentinelEndpointAutoConfiguration extends Object
| 构造器和说明 |
|---|
SentinelEndpointAutoConfiguration() |
| 限定符和类型 | 方法和说明 |
|---|---|
SentinelEndpoint |
sentinelEndPoint(SentinelProperties sentinelProperties) |
SentinelHealthIndicator |
sentinelHealthIndicator(org.springframework.beans.factory.support.DefaultListableBeanFactory beanFactory,
SentinelProperties sentinelProperties) |
@Bean @ConditionalOnMissingBean @ConditionalOnEnabledEndpoint public SentinelEndpoint sentinelEndPoint(SentinelProperties sentinelProperties)
@Bean @ConditionalOnMissingBean @ConditionalOnEnabledHealthIndicator(value="sentinel") public SentinelHealthIndicator sentinelHealthIndicator(org.springframework.beans.factory.support.DefaultListableBeanFactory beanFactory, SentinelProperties sentinelProperties)
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.