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

Sergey Beryozkin edited comment on CXF-7239 at 2/2/17 1:50 PM:
---------------------------------------------------------------

You can return JAX-RS 2.0 Feature with Application.getSingletons() when JAX-RS 
Application is used to initialize a servlet , if not using Application - list 
them as part of the "jaxrs.providers" init parameter.
To register CXF Feature: use a "jaxrs.features" init.parameter

I think this is issue is invalid, unless I'm missing something ? Thanks  


was (Author: sergey_beryozkin):
When JAX-RS Application is used to initialize a servlet that you can return 
JAX-RS 2.0 Feature with Application.getSingletons(), if not using Application - 
list them as part of the "jaxrs.providers" init parameter.
To register CXF Feature: use a "jaxrs.features" init.parameter

I think this is issue is invalid, unless I'm missing something ? Thanks  

> Ability to add Feature with CXFNonSpringJaxrsServlet
> ----------------------------------------------------
>
>                 Key: CXF-7239
>                 URL: https://issues.apache.org/jira/browse/CXF-7239
>             Project: CXF
>          Issue Type: Improvement
>            Reporter: Dmitry Murashenkov
>
> At the moment JAXRSServerFactoryBean to which features are added is created 
> in CXFNonSpringJaxrsServlet.createServerFromApplication and is not 
> customizable.
> Adding Feature requires overriding this method.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to