On Fri, Jul 31, 2009 at 5:34 PM, James Strachan <[email protected]>wrote:

>
> 2009/7/31 Dhanji R. Prasanna <[email protected]>:
> > Yea, we considered this very early on, with providing the InjectionPoint
> > itself to a provider. But it didn't materialize then and there hasn't
> been
> > much demand since (InjectionListeners also solve the problem
> orthogonally,
> > as you note).
>
> Though InjectionListeners can only be used to create new injection
> points not using @Inject. Its not possible to use them with @Inject
> injection points such as this


But you can achieve the same result with a TypeListener + InjectionListener.

I agree, however, I would have liked to see InjectionPoint-aware providers.
We discussed this at length early on, but I suppose as these things happen
there wasn't enough community pressure and things went in a different
direction...

Dhanji.

--~--~---------~--~----~------------~-------~--~----~
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