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

[jsr339-experts] Question about DynamicFeature

From: Sergey Beryozkin <sberyozkin_at_talend.com>
Date: Mon, 24 Sep 2012 18:25:10 +0100

Hi

I'd like to ask for a clarification re DynamicFeature, the docs say:

"Dynamic feature provider is used by JAX-RS runtime to register
providers that shall be applied to a particular resource class and
method and overrides any annotation-based binding definitions defined on
the returned resource filter or interceptor instance. "

I'm confused by "...overrides any annotation-based binding definitions
defined on the returned resource filter or interceptor instance."

The feature dynamically adds providers (filters, interceptors). What
exactly the 'overrides' refers to ?

Thanks, Sergey