It requires a runtime parameter and give the implementation based on this parameter. The parameter is given by users input or some other configuration.
On Aug 8, 7:46 am, Leigh Klotz <[email protected]> wrote: > Just to get the conversation going, here is a question: > How do you decide which implementation of the interface to use? > Does the application that uses the interface know which it wants? > Or does it require a runtime parameter which might be derived from > some other inputs? > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
