Take a look at the Robot Legs problem in the Guice FAQ: How do I build two similar but slightly different trees of objects?
This is commonly called the "robot legs" problem: How to create a robot with a two Leg objects, the left one injected with a LeftFoot, and the right one with a RightFoot. But only one Leg class that's reused in both contexts. [...] http://code.google.com/p/google-guice/wiki/FrequentlyAskedQuestions -- 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.
