jsr339-experts@jax-rs-spec.java.net

[jsr339-experts] _at_NameBinding

From: Adam Bien <abien_at_adam-bien.com>
Date: Mon, 7 Nov 2011 22:55:05 +0100

The @NameBinding annotation seems to be similar to JSR-330 @Qualifier:

@Target(ElementType.ANNOTATION_TYPE)
@Retention(value = RetentionPolicy.RUNTIME)
public @interface NameBinding {
}


Couldn't we just reuse the either the @Named or use a custom Qualifier for that? Especially the sample "@Logged" looks exactly like a qualifier.

cheers,

adam