Github user johnament commented on a diff in the pull request:

    https://github.com/apache/cxf/pull/149#discussion_r73264429
  
    --- Diff: 
integration/cdi/src/main/java/org/apache/cxf/cdi/JAXRSCdiResourceExtension.java 
---
    @@ -179,7 +185,13 @@ private JAXRSServerFactoryBean 
createFactoryInstance(final Application applicati
                     classified.get(Path.class).add(singleton);
                 }
             }
    -        
    +
    +        // now loop through the classes
    +        Set<Class<?>> classes = application.getClasses();
    +        if (!classes.isEmpty()) {
    +            classified.get(Path.class).addAll(loadServices(beanManager, 
classes));
    +            
classified.get(Provider.class).addAll(loadProviders(beanManager, classes));
    --- End diff --
    
    Shoot, thanks.  I actually wrote the code for features, but then removed it 
in my formatting clean up.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to