dubbo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] mercyblitz commented on issue #68: Infer dubbo configuration without classpath scanning
Date Wed, 21 Mar 2018 12:13:55 GMT
mercyblitz commented on issue #68: Infer dubbo configuration without classpath scanning
URL: https://github.com/apache/incubator-dubbo-spring-boot-project/issues/68#issuecomment-374916705
 
 
   @luffyke Annotation and `dubbo.scan.basePackages` property both works fine.
   
   1. If prefer to annotation-driven , `@DubboComponentScan` scans `@Service`
   
   2. All `@Reference` injections do not depend on `dubbo.scan.basePackages` or `@DubboComponentScan`
in Spring Boot application. it only requires `@Reference` declaring class is a valid `@Component`
class or its' variants.
   
   3.  The usage of `@DubboComponentScan` is same as `@ComponentScan` , all attributes are
optional. If `com.acme.Comfiguration` annotated `@ComponentScan` , all valid `@Component`
class or its' variants class will be scanned.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services

Mime
View raw message