Comment by [email protected]:
how about creating a Provider dynamically? I have a Class var =
annotation.getValue(); and I want to create a Provider of Provider<var> but
I don't know what var is until runtime. Is there a way to do that? I was
looking at
http://eng.wealthfront.com/2010/05/just-in-time-providers-for-guice.html
which is pretty cool stuff and would work(as a different paradigm of
course) but was hoping I could use straight guice with no changes to create
a list of Providers instead that could provide the stuff(this is all from
annotation scanning to hook up some @TriggerImpl(xxxxx.class) on some bean.
For more information:
http://code.google.com/p/google-guice/wiki/ProviderBindings
--
You received this message because you are subscribed to the Google Groups
"google-guice-dev" 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-dev?hl=en.