Dynamic provider registration in JAX-RS
Dynamic provider registration in JAX-RS
The DynamicFeature class in JAX-RS (2.0) allows you to register providers
Dynamically i.e. without any pre-defined binding strategy (e.g. annotations)
Based on criteria i.e. to help decide which provider to bind to which JAX-RS resource(s)
The JAX-RS implementation detects and executes the DynamicFeature implementations at deployment time
Here is an example where we instruct the JAX-RS run time…
View On WordPress








