liufeiyu1002 commented on issue #13623:
URL: https://github.com/apache/dubbo/issues/13623#issuecomment-1880683246

   首先说为啥会扫描2次, 他是由不同的俩个 `ServiceAnnotationPostProcessor` 类实例扫描的 
第一个`ServiceAnnotationPostProcessor` 实例创建的时机是 通过 enabledubbo 注解注入的 从 
`DubboComponentScanRegistrar` 类中,第二个实例是 springboot autoconfig 的spring.factories 
文件扫描注入的 当配置了 属性  `dubbo.scan.base-packages` 以后会注入一个 
`ServiceAnnotationPostProcessor` 新的实例对象


-- 
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.

To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org
For additional commands, e-mail: notifications-h...@dubbo.apache.org

Reply via email to