Hi Bob,
I haven't seen any activity on the list
(https://groups.google.com/forum/#!forum/atinject-observer
<https://groups.google.com/forum/#%21forum/atinject-observer>) for over
3 years. Where is this activity taking place? Who is actively working on it?
There are many ways to solve the problem at hand, but first we need to
agree on the use-case: the ability to code a library against some
interface and have the user plug in a DI implementation at runtime. Do
you plan to support this use-case?
I believe Guice is typically hidden under the hood of APIs. This problem
only arises when an API chooses to expose a DI framework to the end-user
(as Jersey does).
Note, you don't necessary to mandate a configuration interface to
implement this. Instead of having the library code against a DI
interface, it could code against one specific DI implementation and JSR
330 would need to mandate a mechanism for delegating injection from one
implementation to another (i.e. "I don't know how to inject this, do you?").
Another interesting approach to investigate is SLF4J. SLF4J mandates a
logging interface but not logger configuration. Library authors expose
SLF4J but end-users are free to plug in a logger implementation (or
multiple implementations) of their choice. I wonder what this model
would look like when applied to Jersey.
Gili
On 02/12/2013 3:46 PM, Bob Lee wrote:
I plan to continue to lead JSR-330 for the foreseeable future.
If you have specific feature requests, please file them here:
https://code.google.com/p/atinject/issues/list
FWIW, I think it's too early to standardize on a single configuration
approach, but Dagger represents the direction I'd probably take in 330
when the time is right.
Bob
On Dec 2, 2013 12:29 PM, "Gili" <[email protected]
<mailto:[email protected]>> wrote:
Hi,
Do the Guice authors plan to extend JSR 330 in the near future? If
not, are you willing to relinquish control of this JSR to others
who have expressed a willingness to do so? The teams behind
Jersey, HK2 and Glassfish have expressed a willingness to pick up
this ball.
Thanks,
Gili
--
You received this message because you are subscribed to the Google
Groups "google-guice" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to [email protected]
<mailto:google-guice%[email protected]>.
To post to this group, send email to [email protected]
<mailto:[email protected]>.
Visit this group at http://groups.google.com/group/google-guice.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to a topic in the
Google Groups "google-guice" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/google-guice/2ipw6CAJc1c/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
[email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-guice.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups
"google-guice" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-guice.
For more options, visit https://groups.google.com/groups/opt_out.