Comment #13 on issue 131 by sberlin: partial injection a.k.a. factory generation http://code.google.com/p/google-guice/issues/detail?id=131
I wholeheartedly agree with the comment that it's hard to differentiate between regular & factory dependencies. It's a six-of-one/half-dozen-of-the-other thing in a sense, because the new model technically erases the need for all the assisted parameters to really be assisted -- you could create a bean that has two assisted params and a factory that has one param, then while binding the factory you can bind the other assisted param to a constant. It opens up a lot of doors for what's possible with assisted constructors shared between code & tests. Still, if there was a way to distinguish what's "supposed" to be assisted vs what's supposed to be a real dependency -- it'd be a nice improvement. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "google-guice-dev" 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-dev?hl=en -~----------~----~----~----~------~----~------~--~---
