On Sat, Aug 23, 2014 at 2:52 AM, Rudolf Visagie <[email protected]>
wrote:

> What is the best way to accomplish this dependency injection using Google
> Guice?
>
> Take into account that different BusinessLogic classes will exist, each
> with their own (different) ServiceClientAdapter-like interface and
> corresponding legacy and new implementation classes.
>
> Ideally this should be done with a piece of framework code that can be
> used across all use cases.
>

Does injecting a Provider<ServiceClientAdapter> give you enough indirection
to code the provider behavior yourself?

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-guice.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-guice/CAFrMXykRzZo2Wnvva88iKpaHVyCMGQKbYkAp1N%2BtKRwPrFcHyw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to