You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2022/11/20 12:52:20 UTC

[GitHub] [dubbo] beyondlex commented on pull request #8854: fix #8770: provider remove @Lazy support.

beyondlex commented on PR #8854:
URL: https://github.com/apache/dubbo/pull/8854#issuecomment-1321125607

   I think we should keep the beans annotated with `@DubboService` lazy-able: when we want to set lazy-initialization globally (`spring.main.lazy-initialization=true`) except the beans that are annotated with `@DubboService`,  we prefer a non-lazy Dubbo service, with [this feature](https://github.com/apache/dubbo/pull/7981) we could put `@Lazy(false)` on the service class, but now this extensibility is lost.


-- 
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-unsubscribe@dubbo.apache.org

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


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