xiaodududu / google-guice

Automatically exported from code.google.com/p/google-guice
Apache License 2.0
0 stars 0 forks source link

Easy access to providers for a Set multibinding #628

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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.

Original issue reported on code.google.com by chr...@google.com on 4 May 2011 at 5:10

Attachments: