You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "chickenlj (GitHub)" <gi...@apache.org> on 2019/04/11 09:33:43 UTC

[GitHub] [incubator-dubbo] chickenlj commented on issue #3853: Revert #3688 config-center-config

```java
/**
     * if {@link #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:
     * <pre>
     * {@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.
     *      @Parameter(key = "alias_for_item")
     *      public getItem();
     *  }
     * }
     *
     * </pre>
     */
    boolean useKeyAsProperty() default true;	    boolean useKeyAsProperty() default true;
```

[ Full content available at: https://github.com/apache/incubator-dubbo/pull/3853 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org