Dears,

Now that the javax.inject is officially supported (see
http://java.sun.com/javaee/6/docs/api/javax/inject/package-summary.html),
when can we expect to have a full support for providers?

I mean that, for the moment (with the latest snapshot), I can't make my
providers implement javax.inject.Provider because the
LinkedBindingBuilder#toProvider(Provider) method is still accepting only
com.google.inject.Provider and not the parent javax.inject.Provider. However
the other toProvider() methods accept respectively Class<? extends
javax.inject.Provider>, TypeLiteral<? extends javax.inject.Provider> and
Key<? extends javax.inject.Provider>.

I've well read the wiki (http://code.google.com/p/google-guice/wiki/JSR330),
but it seems that people were focused on the upcoming JDK 7 (which includes
javax.inject from JSR330) and not on the new JavaEE 6 that were released a
few weeks ago (which includes javax.inject from JSR299).

So being a bit lost, could anyone clarify these points:
* does the LinkedBindingBuilder#toProvider() not accept
javax.inject.Provider on purpose or was it simply forgotten?
* is there plan to support soon the javax.inject of JSR299 or will we have
to wait until JDK7 for that support ?


Regards,

Olivier

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