@Configuration @EnableConfigurationProperties(value=YamlShadowRuleSpringBootConfiguration.class) @ConditionalOnClass(value=org.apache.shardingsphere.shadow.yaml.config.YamlShadowRuleConfiguration.class) @Conditional(value=ShadowSpringBootCondition.class) public class ShadowRuleSpringBootConfiguration extends Object
| 构造器和说明 |
|---|
ShadowRuleSpringBootConfiguration() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ShadowAlgorithmProvidedBeanRegistry |
shadowAlgorithmProvidedBeanRegistry(org.springframework.core.env.Environment environment)
Shadow algorithm provided bean registry.
|
org.apache.shardingsphere.infra.config.RuleConfiguration |
shadowRuleConfiguration(org.springframework.beans.factory.ObjectProvider<Map<String,org.apache.shardingsphere.shadow.spi.ShadowAlgorithm>> shadowAlgorithms)
Shadow rule configuration.
|
@Bean public org.apache.shardingsphere.infra.config.RuleConfiguration shadowRuleConfiguration(org.springframework.beans.factory.ObjectProvider<Map<String,org.apache.shardingsphere.shadow.spi.ShadowAlgorithm>> shadowAlgorithms)
shadowAlgorithms - shadow algorithms@Bean public static ShadowAlgorithmProvidedBeanRegistry shadowAlgorithmProvidedBeanRegistry(org.springframework.core.env.Environment environment)
environment - environmentCopyright © 2021 The Apache Software Foundation. All rights reserved.