cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Murashenkov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-7239) Ability to add Feature with CXFNonSpringJaxrsServlet
Date Thu, 02 Feb 2017 13:56:51 GMT

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

Dmitry Murashenkov commented on CXF-7239:
-----------------------------------------

Oh, my bad, missed that Swagger2Feature has @Provider annotation. 

Yes, returning it as a Singleton works perfectly, issue can be closed.

> 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)

Mime
View raw message