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 does 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: [email protected] With regards, Apache Git Services
