Can we get some feedback, when this is implemented in the trunk? I am
also interested in having this feature.

BR, Sven


On Oct 21, 7:20 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> On Oct 20, 2:48 pm, "Robbie Vanbrabant" <[EMAIL PROTECTED]>
> wrote:
>
> > Guice 2.0 has some improvements in this area, for example 
> > TypeResolver:http://publicobject.com/2008/07/typeresolver-tells-you-what-listget.html
> > It seems to be possible to solve this problem properly, so I suggest you
> > open an issue in the tracker for your problem to make sure it gets
> > addressed.
>
> Yup, Robbie's nailed it. We're going to change Guice
> so you can use type variables in injection points, like so:
>   [EMAIL PROTECTED] List<T> injectTees;
>
> This isn't implemented yet, but when it's ready it'll
> solve this problem cleanly. For now, the only workaround
> is to create distinct subclasses or provider methods for
> each distinct T.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to