I can't find a decent way to do this and none of them pass my "smell test"..
Basically we have a few Provider<Client> instances that each represent their own Elastisearch cluster. We are decoupling our Elasticsearch clusters ... so we can no longer use a single Provider<Client>. The problem is that I have a bunch of code written to use inject Provider<Client> I guess what I want to do is have specific components use specific Provider<Client> automatically within the same binding. Is there a way I can do this without having to use a different injector/modules? I can't think of an elegant way but maybe there's some Guice mojo I'm missing. -- You received this message because you are subscribed to the Google Groups "google-guice" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-guice+unsubscr...@googlegroups.com. To post to this group, send email to google-guice@googlegroups.com. Visit this group at https://groups.google.com/group/google-guice. To view this discussion on the web visit https://groups.google.com/d/msgid/google-guice/2dfa8b21-9a6b-4156-9a9c-10c17a221ab8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.