[ https://issues.apache.org/jira/browse/CXF-3725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13841234#comment-13841234 ]
Sergey Beryozkin commented on CXF-3725: --------------------------------------- Vladimir, I've prototyped a basic SpringResourceServer based on your code example: http://svn.apache.org/r1548504 Cheers, Sergey > JAXRS must be able to expose all spring components marked with @Path > -------------------------------------------------------------------- > > Key: CXF-3725 > URL: https://issues.apache.org/jira/browse/CXF-3725 > Project: CXF > Issue Type: New Feature > Components: JAX-RS > Reporter: Olivier Lamy (*$^¨%`£) > Attachments: patch-base-packages-discovery-services.txt > > > To ease dev and not to have to declare all beans. > See sample : > {code} > not > <jaxrs:server id="bookservice" address="/"> > <jaxrs:serviceBeans> > <ref bean="bookstore"/> > <ref bean="bookstoreInterface"/> > </jaxrs:serviceBeans> > </jaxrs:server> > but > <jaxrs:server id="bookservice" address="/"> > <jaxrs:serviceBeans all-beans="true"> > > </jaxrs:serviceBeans> > </jaxrs:server> > All spring components marked with @Path as it will be exposed > @Path( "/userService/" ) > @Service("userService#rest") > public class DefaultUserService > implements UserService > {code} -- This message was sent by Atlassian JIRA (v6.1#6144)