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/21 04:00:57 UTC

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

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

   > 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.
   
   Dubbo Service is a service publisher, and its design does not support the lazy attribute.


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