How will you determine the data source to be injected? 2011/3/15 Fernando O. <[email protected]>
> that's usefull if you know how many Datasources I can't add @DS1 @DS2 > @DS.... > > > > 2011/3/15 Willi Schönborn <[email protected]> > >> Check out the robot legs example in the guice wiki. I Eintrag consider it >> extremely clean though. >> On Mar 15, 2011 2:18 PM, "ZeoS" <[email protected]> wrote: >> > Hi all >> > I've been working with Guice for some simple stuff but nothing too >> > complicated. Now I need to load som DB configurations, basically my >> > program will connecto to some dbs (6 now, maybe more in the future). >> > So I wanted to know how to configure several Datasources, basically a >> > collection of instances of the same object but with different >> > properties. >> > >> > I couldn't find a clean way to do this and I suppose there must be >> > one. >> > >> > >> > 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. >> > >> >> -- >> 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. >> > > -- > 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. > -- 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.
