注释类型 EnableDubboConfigBinding
-
@Target({TYPE,ANNOTATION_TYPE}) @Retention(RUNTIME) @Documented @Import(DubboConfigBindingRegistrar.class) public @interface EnableDubboConfigBinding
Enables Spring's annotation-drivenDubbo Config
fromproperties
.Default ,
prefix()
associates with a prefix ofproperties
, e,g. "dubbo.application." or "dubbo.application"- 从以下版本开始:
- 2.5.8
- 另请参阅:
DubboConfigBindingRegistrar
,DubboConfigBindingBeanPostProcessor
,EnableDubboConfigBindings
-
-
必需元素概要
所需元素 修饰符和类型 必需的元素 说明 String
prefix
The name prefix of the properties that are valid to bind toDubbo Config
.Class<? extends AbstractConfig>
type
-
-
-
元素详细资料
-
prefix
String prefix
The name prefix of the properties that are valid to bind toDubbo Config
.- 返回:
- the name prefix of the properties to bind
-
-
-
type
Class<? extends AbstractConfig> type
- 返回:
- The binding type of
Dubbo Config
. - 另请参阅:
AbstractConfig
,ApplicationConfig
,ModuleConfig
,RegistryConfig
-
-
-
multiple
boolean multiple
It indicates whetherprefix()
binding to multiple Spring Beans.- 返回:
- the default value is
false
- 默认值:
- false
-
-