cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olivier Lamy (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CXF-3725) JAXRS must be able to expose all spring components marked with @Path
Date Tue, 09 Aug 2011 19:24:27 GMT
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
            Reporter: Olivier Lamy


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 is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message