dubbo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chickenlj (GitHub) <git...@apache.org>
Subject [GitHub] [incubator-dubbo] chickenlj commented on issue #3853: Revert #3688 config-center-config
Date Thu, 11 Apr 2019 09:33:43 GMT
```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


Mime
View raw message