You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2017/02/02 13:50:51 UTC
[jira] [Commented] (CXF-7239) Ability to add Feature with
CXFNonSpringJaxrsServlet
[ https://issues.apache.org/jira/browse/CXF-7239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15849918#comment-15849918 ]
Sergey Beryozkin commented on CXF-7239:
---------------------------------------
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)