@ConditionalOnClass(value=org.springframework.boot.actuate.endpoint.annotation.Endpoint.class) @EnableConfigurationProperties(value=SentinelProperties.class) public class SentinelEndpointAutoConfiguration extends Object
Constructor and Description |
---|
SentinelEndpointAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
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 © 2019 Pivotal Software, Inc.. All rights reserved.