cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <>
Subject [jira] [Commented] (CXF-4199) Support class-scanning for discovering JAX-RS providers
Date Sun, 08 Dec 2013 17:37:35 GMT


Sergey Beryozkin commented on CXF-4199:

Hi Andrei, 
we can have as many utility methods in this wrapper as we like, one method returning classes,
another one - instances;
IMHO,  in case of the server spring support, we'd rather have the wrapper (as all the Spring
code which can handle it will be there) creating instances for us, JAXRSServerFactoryBean.setResourceClasses
uses CXF utility class for creating instances, so it can accidentally bypass some of Spring
specific subtleties.
But for the client, we'd need your option, because jaxrs:client needs a class argument to
create a proxy, but can accept provider instances, so in this case we'll do exactly what you

Thanks, Sergey


> Support class-scanning for discovering JAX-RS providers 
> --------------------------------------------------------
>                 Key: CXF-4199
>                 URL:
>             Project: CXF
>          Issue Type: Improvement
>          Components: JAX-RS
>            Reporter: Sergey Beryozkin
>         Attachments: patch-base-packages-discovery-all-packages.txt, patch-base-packages-discovery.txt
> With the search extensions module containing a provider the time has come to support
the optional class-scanning. Will help in cases when the providers are simple and no extra
configuration is expected. Post 2.6 though

This message was sent by Atlassian JIRA

View raw message