Hello, When we write @ImplementedBy on an interface, we are writing a default binding. This binding can be redefined in a module.
Is it possible to write a "default" binding into a module? like: bind(ITotoService.class).to(DefaultTotoImplementation.class).byDefault(); and to ba able to redefined the binding : like: bind(ITotoService.class).to(CustomTotoImplementation.class); Of course, a default binding can be redefine only once (like @ImplementedBy behaviour). Cheers, Anthony --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
