[GitHub] andymc12 opened a new pull request #379: [CXF-7638] Only register provider if it implements specified contracts

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[GitHub] andymc12 opened a new pull request #379: [CXF-7638] Only register provider if it implements specified contracts

GitBox
andymc12 opened a new pull request #379: [CXF-7638] Only register provider if it implements specified contracts
URL: https://github.com/apache/cxf/pull/379
 
 
   Per JAX-RS javadoc, all registered components must implement the
   contracts specified in the passed in array of Classes or the map of
   contracts to priorities.  CXF should also log a warning when an invalid
   contract is passed in to alert the user that the call to register has
   been ignored.
   
   Since ServerProviderFactory and CdiServerConfigurableFactory also used
   this same registration mechanism (passing in server side filters/
   interceptors, these parts also needed changes.
   
   Looking for a review because I'm not 100% certain what the supportedContracts flow was really doing or if there are any negative effects from removing it.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[hidden email]


With regards,
Apache Git Services