Thanks James,
I'm using the OSGi HttpService and registering a
CXFNonSpringJaxrsServlet instance at runtime. I don't quite understand
how to use the JaxrsServerBeanFactory with the HttpService/servlet. By
chance do you have an example of that in Microbule? Is there
another/better CXF servlet class to use with HttpService in OSGi?
I take it from your answer that there is no CXF impl of
javax.ws.rs.Configurable...but just want to make sure.
Thanks again,
Scott
On 3/20/2018 10:52 AM, James Carman wrote:
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