@Documented @Retention(value=RUNTIME) @Target(value=METHOD) public @interface Parameter
public abstract String key
public abstract boolean useKeyAsProperty
key() 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.Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.