[ 
https://issues.apache.org/jira/browse/CXF-7629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16350315#comment-16350315
 ] 

Carlos Sierra commented on CXF-7629:
------------------------------------

Hi Sergey,

I saw your fix and I was wondering if we should do the same for 
_ContextResolver.class_ and _ParamConverterProvider.class_ so they are not 
registered if not specified in the Configurable.

what do you think?

Carlos.

> When registering a provider that implements MessageBodyReader and 
> MessageBodyWriter interfaces through a Feature CXF ignores the interfaces in 
> the contract and registers them all
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-7629
>                 URL: https://issues.apache.org/jira/browse/CXF-7629
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 3.2.2
>            Reporter: Carlos Sierra
>            Assignee: Sergey Beryozkin
>            Priority: Major
>             Fix For: 3.1.15, 3.2.2
>
>
> when using
>  
> {code:java}
> javax.ws.rs.core.Configurable#register(java.lang.Object, 
> MessageBodyReader.class)
> {code}
> to register a provider that implements both MessageBodyReader and 
> MessageBodyWriter, CXF ignores the specified contract and registers the 
> provider for both MessageBodyReader and MessageBodyWriter, instead of only 
> for MessageBodyReader.class.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to