Hello Dhanji > I would advise against classes whose sole purpose are to propagate > dependencies to other classes. You may be better off using the builder > pattern or simply injecting a Provider instead. IMO a builder is generally a > good solution to these kinds of problems.
Could you give a simple example of injecting Provider & builder pattern? I can't see how your advice may look like (I have small expirience with Guice). You can write smth. like pseudo code just for demonstrate your idea. Thanks --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
