Paul MERLIN wrote:
What about smth like :
public Some(@Service(tags={"configuration"}) EntityStore entityStore)
{
...
}
That would work, but it'd be hardcoding the "tagged" qualifier into the
@Service tag. I would like to avoid giving preference to any kind of
qualifier, if possible. From a documentation point of view the above is
better though, as it becomes easier to figure out that the above is
possible through code completion on the @Service annotation.
But it really is a separate concern, and so I would prefer doing it the
"verbose" way:
Some(@Service @Tagged("configuration") EntityStore entityStore)
/Rickard
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev