Guice actually does provide a binding override mechanism. See Modules.override(Module).with(Module...).
Sam On Tue, Jun 9, 2009 at 5:02 PM, Dimitris Andreou <[email protected]>wrote: > > Hi all, > > I watched the JavaOne presentation today, and there was a question > from the audience, "how are modules composable". Part of the answer > was that guice produces good error messages if conflicting bindings > occur through different modules. > > But since guice lacks a "binding override" mechanism (I'm not > experienced in guice, but that is my impression), what are the options > of actually resolving such a conflict? And particularly, without > modifying the modules source code itself... > > Thanks, > > Dimitris > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "google-guice" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-guice?hl=en -~----------~----~----~----~------~----~------~--~---
