users@jax-rs-spec.java.net

[jax-rs-spec users] Using _at_Provider with Feature and DynamicFeature

From: Christian Kaltepoth <christian_at_kaltepoth.de>
Date: Sat, 8 Apr 2017 13:47:51 +0200

Hey all,

I've a question. The javadocs of DynamicFeature state this:


*Providers implementing this interface MAY be annotated with @Provider
annotation in order to be discovered by JAX-RS runtime when scanning for
resources and providers.*

The javadocs of the Feature interface doesn't mention anything like this.

Is this intended? It looks weird to me that DynamicFeature supports
discovery via @Provider but Feature doesn't.

Thanks

Christian


-- 
Christian Kaltepoth
Blog: http://blog.kaltepoth.de/
Twitter: http://twitter.com/chkal
GitHub: https://github.com/chkal