>From my understanding you can put inject bind ISomething to an Provider and implement the logic "what to choose" inside provider.
2010/1/19 Fred <[email protected]> > Could you please give an example? I'm having a hard time interpreting > what you mean. > > On Jan 19, 8:15 am, Anthony MULLER <[email protected]> wrote: > > Hello, > > > > I can't remember... I work with Guice 1.0. > > > > Is is possible to take the hand when it is written: > > > > public class MaClasse { > > > > @Inject > > private ISomething something; > > > > } > > > > I'd like to write a specific resolution, to choose the "best" binding.... > > > > Thanks, > > 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]<google-guice%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-guice?hl=en. > > > >--
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.
