spring-cloud / spring-cloud-commons

Common classes used in different Spring Cloud implementations
Apache License 2.0
701 stars 697 forks source link

minor fix #1342

Closed wind57 closed 5 months ago

wind57 commented 5 months ago

while this might be a little beneficial, the only reason I wanted to do eager initialization, is because I don't know how to retrieve the ServiceInstanceListSupplier that is created lazily. In other words: how do I retrieve the ServiceInstanceListSupplier at runtime, after the first call to load balancer. I tried things like getBeansOfType(ServiceInstanceListSupplier.class) or using ObjectProvider, but none worked.

In case you think this should be a separate question, just let me know...