On 7/4/11 14:33 , Toni Menzel wrote:
Ok the example sounds odd.
Instead of named @Tagged ( "Safe" ) one could use a custom annotation @Safe.
Thats what other DI fw allow.
I am not 100% sure if it serves well understanding of the semantics, too.

But it would reduce the String-ification of things.
Which i think is usually not appreciated.

Well, in the above case, there's nothing to stop you from using an enum AFAIK:
@Service @Tagged(Safety.SAFE.name())

Right?

/Rickard

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to