public marks

LINK

Stuck in the middle : Weblog

by night.kame

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.

Comments

No comment on this link yet.


PUBLIC TAGS
on this link

@inject   JSR-299   Qi4J   réthorique  

BY

night.kame
the 11/05/2009 at 12:55