You can use JaxrsServerBeanFactory in OSGi just fine. With that, you can add all the providers you want. You can check out Microbule for inspiration:
https://github.com/Microbule/microbule On Tue, Mar 20, 2018 at 1:34 PM Scott Lewis <sle...@composent.com> wrote: > I'm programmatically using cxf in an osgi environment. I'm using the > servlet class: org.apache.cxf.jaxrs.servlet.CXFNonSpringJaxrsServlet, > and want to create and an impl of javax.ws.rs.core.Configurable to > register extensions (e.g. json support, etc). > > Is there a cxf jaxrs impl of javax.ws.rs.core.Configurable in that I can > create programmatically, and use to register extensions like > ContextResolver, etc? > > Thanksinadvance, > > Scott > > >