Assume we have two classes (real and proxy one) which implement the same interface. One implementation is a proxy which relates operations to the any other wrapped implementation (caching).
I would like to have a module which binds real implementations to the interface so whenever it is installed the application will work. But at the same time I would like to make the application use the cached version if it was installed (and the proxy ones should have the real ones injected). How to do it with Guice? -- 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 https://groups.google.com/group/google-guice. To view this discussion on the web visit https://groups.google.com/d/msgid/google-guice/d7e860f1-6e52-43c8-a06d-63ebf4db7054%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
