The DSL syntax wasn't the important part of my idea, just that it'd be nice if you could have context-aware bindings, using a chain of "owner" annotations that Guice would maintain while injecting the object graph. It just seems to me that hierarchical injectors are more complex than they need to be when 99% of the time the problem they're solving is "give me a LeftFoot or a RightFoot depending on whether this Leg is listed as 'left' or 'right''.
-Josh On Thu, Sep 11, 2008 at 8:31 PM, tzwoenn <[EMAIL PROTECTED]>wrote: > > For an DSL enhancement this does not look really intuitive to me. > Maybe you can explain it further. > > Sven > > -- "Therefore, send not to know For whom the bell tolls. It tolls for thee." http://flex.joshmcdonald.info/ :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
