On Wed, 07 Jul 2010 13:06:24 -0300, Howard Lewis Ship <[email protected]> wrote:

I am coding it up that way; the service must have all the markers
identified at the point-of-injection (i.e., on the contribution
method). This also brings it into alignment with how service injection
works.

Nice! It also helps for JSR 330 and 290 alignment and integration.

JSR 330 uses an annotation (@Qualifier) in the annotation itself:
http://atinject.googlecode.com/svn/trunk/javadoc/javax/inject/Qualifier.html

Ah, that would be simpler. Perhaps we should start enforcing that at
some point. As is, we can tell what the markers are by analyzing the
service definitions.

If we want to enforce something, let's enforce them as early as possible.

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to