Annotation Type RegisterProvider
@Target(TYPE) @Retention(RUNTIME) @Documented @Repeatable(RegisterProviders.class) public @interface RegisterProviderWhen annotation is placed at the interface level of a REST API definition, the providers listed will be registered upon proxying.
If a provider listed is not found on the classpath, it is ignored. If a provider is listed, but is not a valid provider, then an
IllegalArgumentExceptionis thrown indicating that the provider is invalid.
- the priority of the provider. If not specified, reads the priority from the annotation
Priorityas defined on the class