Comment #1 on issue 758 by [email protected]: Increase support for optional injection.
http://code.google.com/p/google-guice/issues/detail?id=758

I've been able to use the current TypeListener to provide optional injection without any core changes (from the context of simulating Plexus on top of Guice). Basically it involved a utility method that could wrap the provider from the binder and turn it into a no-op provider. If necessary you can also defer specific lookups even more by requesting a provider for the injector and then using that later on to do additional lookups (although this does mean that you're then sacrificing Guice's early error detection).

Are you able to share your spring-integration code, or maybe reduce it down to an example of how this feature could be used?

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


Reply via email to