Comment #7 on issue 778 by [email protected]: RFE: Ability to
delegate injection for unknown types
http://code.google.com/p/google-guice/issues/detail?id=778
I guess I didn't fully understand what he meant. Did he mean I should
inject a Guice Module that takes HK2 DynamicConfiguration as input and
convert DynamicConfiguration bindings into Module bindings?
Guice seems to be geared towards binding a configuration at init time,
whereas HK2 allows bindings to change at runtime. (John Wells, please
correct me if I'm wrong.)
It's not clear to me how I'd add/remove/modify bindings at runtime with
Guice, even if I could register an event listener for HK2's
DynamicConfiguration.
Injector.createChildInjector() allows me to add new bindings at runtime,
but it's not clear how to change/remove them at a later time.
I've asked John to provide us with some background information about HK2
because I'm not very familiar with how it work.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
You received this message because you are subscribed to the Google Groups
"google-guice-dev" 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-dev.
For more options, visit https://groups.google.com/groups/opt_out.