java-my-life commented on issue #15254: URL: https://github.com/apache/dubbo/issues/15254#issuecomment-2731875930
> > Dubbo 3, it is recommended to separate reference definition and injection, define the reference in a Java Config class, and inject the interface proxy class through [@Autowired](https://github.com/Autowired) in the referenced class . > > You can still use `@DubboReference` in your component class whenever you want. Whether to aggregate reference definitions into config class or not is depend on your project structure. @DubboReference needs to be defined one by one, which is not what I want. Currently, all reference classes can be found through custom annotations in the project, but I don't know how to inject them through the API in Spring -- 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]
