注释类型 Parameter
-
@Documented @Retention(RUNTIME) @Target(METHOD) public @interface Parameter
Parameter
-
-
元素详细资料
-
key
String key
- 默认值:
- ""
-
-
-
useKeyAsProperty
boolean useKeyAsProperty
ifkey()is specified, it will be used as the key for the annotated property when generating url. by default, this key will also be used to retrieve the config value:{@code class ExampleConfig { // Dubbo will try to get "dubbo.example.alias_for_item=xxx" from .properties, if you want to use the original property // "dubbo.example.item=xxx", you need to set useKeyAsProperty=false.- 默认值:
- true
-
-