You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2021/03/27 01:51:19 UTC

[GitHub] [servicecomb-java-chassis] wujimin commented on a change in pull request #2314: [SCB-2237] allow InjectProperties inject to spring bean instance

wujimin commented on a change in pull request #2314:
URL: https://github.com/apache/servicecomb-java-chassis/pull/2314#discussion_r602652692



##########
File path: inspector/src/main/java/org/apache/servicecomb/inspector/internal/InspectorConfig.java
##########
@@ -31,15 +33,17 @@ public boolean isEnabled() {
     return enabled;
   }
 
-  public void setEnabled(boolean enabled) {
+  public InspectorConfig setEnabled(boolean enabled) {

Review comment:
       it's a shortcut for https://docs.servicecomb.io/java-chassis/zh_CN/config/read-config/  
   declare a class with @InjectProperties to be a bean, that's enough.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org