cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From reta <>
Subject [GitHub] cxf pull request #149: [CXF-6987] Also consider the classees defined on an a...
Date Wed, 03 Aug 2016 00:38:39 GMT
Github user reta commented on a diff in the pull request:
    --- Diff: integration/cdi/src/main/java/org/apache/cxf/cdi/
    @@ -179,7 +185,13 @@ private JAXRSServerFactoryBean createFactoryInstance(final Application
    +        // 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 --
    Would you mind to add Feature.class as well? Yeah, it is CXF, not JAX-RS feature, but
it won't hurt to have the same behavior as with singletons. Minor comment though, leaving
choice to you. Thank you.

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 or file a JIRA ticket
with INFRA.

View raw message