BurningCN commented on issue #8803: URL: https://github.com/apache/dubbo/issues/8803#issuecomment-919827869
@DubboService只是一个标记,配置扫描包是会识别包里面带有该注解的标记,然后做一些处理。再比如说你有多个包,每个包里面含有各自想要暴露的服务(含有@DubboService注解),但是某个时刻我只想暴露其中一个包下的服务,就可以配置对应的包扫描规则。 这点就和spring的@Component和@ComponentScan一样 -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
