Molerni commented on issue #10138: URL: https://github.com/apache/dubbo/issues/10138#issuecomment-1152888237
看了一源码可以通过 1、ApplicationModel model = DubboBeanUtils.getApplicationModel(ApplicationContext); 2、RegistryManager rm = RegistryManager.getInstance(model); 3、List<ServiceDiscovery> sds = rm.getServiceDiscoveries(); 即可拿到 ServiceDiscovery , 不小的有没有更好的办法, 先关闭了。 -- 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]
