You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by GitBox <gi...@apache.org> on 2018/02/07 21:55:16 UTC

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

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:
users@infra.apache.org


With regards,
Apache Git Services