[
https://issues.apache.org/jira/browse/CXF-6132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14296670#comment-14296670
]
Sergey Beryozkin commented on CXF-6132:
---------------------------------------
Hi Andriy,
I modified the existing code which is always easier :-).
Yeah, I tried to do a quick update back to
CXFNonSpringJaxrsServlet(Application) idea and ended up doing the code covering
every if/else condition in the spec section related to deploying into the
servlet container :-).
Adding few tests would be great (though not sure where, may be it can be a
simple demo to avoid having to deal with various systest/jaxrs jetty/etc
dependencies clashes/etc), and if you'll see the opportunity to simplify the
code then it would be welcome
Thanks for your help
Sergey
> Provide JAX-RS ServletContainerInitializer
> -------------------------------------------
>
> Key: CXF-6132
> URL: https://issues.apache.org/jira/browse/CXF-6132
> Project: CXF
> Issue Type: New Feature
> Components: JAX-RS
> Reporter: Sergey Beryozkin
> Assignee: Andriy Redko
> Fix For: 3.0.4, 3.1.0
>
>
> This will offer an advanced support for the auto-discovery of JAX-RS
> Application, root resources and providers in OSGI in combination with
> pax-web-jetty.
> Options:
> - dynamically register the implementation as OSGI service
> - ship a static implementation
> [1]
> https://github.com/ops4j/org.ops4j.pax.web/blob/master/pax-web-jetty/src/main/java/org/ops4j/pax/web/service/jetty/internal/JettyServerWrapper.java#L303
> [2]
> http://docs.oracle.com/javaee/7/api/javax/servlet/ServletContainerInitializer.html
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)