@Configuration
@ConditionalOnProperty(value="shenyu.register.enabled",
matchIfMissing=true,
havingValue="true")
public class ShenyuClientCommonBeanConfiguration
extends java.lang.Object
| Constructor and Description |
|---|
ShenyuClientCommonBeanConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.shenyu.register.common.config.ShenyuClientConfig |
shenyuClientConfig()
Shenyu client config.
|
org.apache.shenyu.register.client.api.ShenyuClientRegisterRepository |
shenyuClientRegisterRepository(org.apache.shenyu.register.common.config.ShenyuRegisterCenterConfig config)
Register the register repository for http client bean post processor.
|
org.apache.shenyu.register.common.config.ShenyuRegisterCenterConfig |
shenyuRegisterCenterConfig()
Shenyu Register Center Config.
|
@Bean public org.apache.shenyu.register.client.api.ShenyuClientRegisterRepository shenyuClientRegisterRepository(org.apache.shenyu.register.common.config.ShenyuRegisterCenterConfig config)
config - the config@Bean @ConfigurationProperties(prefix="shenyu.register") public org.apache.shenyu.register.common.config.ShenyuRegisterCenterConfig shenyuRegisterCenterConfig()
@Bean @ConfigurationProperties(prefix="shenyu") public org.apache.shenyu.register.common.config.ShenyuClientConfig shenyuClientConfig()
Copyright © 2023 The Apache Software Foundation. All rights reserved.