Liens du 12/05/2009

mark ongle de pouce

5. Provider<Foo>: you say that the injector must throw an exception at run time, but Guice actually fails at initialization time (or build time if you validate your modules there). Nothing in the spec prevents you from injecting additional types like ServiceReference and Iterable; Guice actually supports injecting collections of bindings via multibindings as an optional feature.

Quand Bob Lee défend @inject, il ne faut pas 2 minutes pour qu'il base sa réponse sur Guice 2 (pas Guice 1 évidemment, qui deviendra tabou comme l'ont été Maven 1 et Axis 1). C'est troublant de devoir défendre une spécification en se basant sur une de ses implémentations.

(étiquettes : )

blogmarks.net

They posted on the same topic

Trackback URL : https://www.cynicalturtle.net/kame/trackback/557

This post's comments feed