[ https://issues.apache.org/jira/browse/CXF-6986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15591458#comment-15591458 ]
ASF GitHub Bot commented on CXF-6986: ------------------------------------- Github user johnament commented on the issue: https://github.com/apache/cxf/pull/182 @sberyozkin In JAXRSCdiResourceExtension#load it loops through the application instances discovered. I figured the cleanest way was to add a custom application instance. In the scenario I have, there is no application instance, as a result, no JAX-RS servers get instantiated. Now that you're pointing it out, I could also do if the app instances are empty, manually instantiate a JAX-RS server. Preferences? > Don't require an application class if using CDI > ----------------------------------------------- > > Key: CXF-6986 > URL: https://issues.apache.org/jira/browse/CXF-6986 > Project: CXF > Issue Type: Improvement > Affects Versions: 3.1.6 > Reporter: John D. Ament > > The current CXF-CDI integration assumes there will be an application class. > It would be great if CXF did not require an application class, to simplify > developer workload. -- This message was sent by Atlassian JIRA (v6.3.4#6332)