Easy access to providers for a Set multibinding
- Dominant language
- Java
- Stars
- 12.7k
- Forks
- 1.7k
- Avg merge
- 11m
- Merged PRs (30d)
- 2
Description
_From [chrisn@google.com](https://code.google.com/u/110897298328163008227/) on May 04, 2011 13:10:43_
MapBinder provides a Map<K, Provider<V>> in addition to Map<K, V>. It would be nice if Multibinder provided a Collection<Provider<V>> (or List) in addition to Set<V>.
I've attached a proof of concept module that implements this using the SPI.
**Attachment:** [gist](https://gist.github.com/fce903ee544f6ba9493e)
_[MultibindingProvidersModule.java](https://gist.githubusercontent.com/gissuebot/fce903ee544f6ba9493e/raw/065291cc97519bd5d37e43ecbd59ae71289675ba/MultibindingProvidersModule.java)_
_Original issue: http://code.google.com/p/google-guice/issues/detail?id=628_
Contributor guide
Assessment
This issue has not been assessed yet.