You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Barry Fitzgerald (JIRA)" <ji...@apache.org> on 2008/02/06 15:23:13 UTC

[jira] Issue Comment Edited: (CXF-1416) Enhancement to JAX-RS spring configuration.

    [ https://issues.apache.org/jira/browse/CXF-1416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12566137#action_12566137 ] 

barfitzgerald edited comment on CXF-1416 at 2/6/08 6:21 AM:
---------------------------------------------------------------

This works for me. But I'm not really sure if it is right. Also there are currently no tests for the Spring Parser and I'm not sure how to go about making one.

Barry

      was (Author: barfitzgerald):
    This works for me. But I'm not really sure if it right. Also there are currently no tests for the Spring Parser and I'm not sure how to go about making one.

Barry
  
> Enhancement to JAX-RS spring configuration. 
> --------------------------------------------
>
>                 Key: CXF-1416
>                 URL: https://issues.apache.org/jira/browse/CXF-1416
>             Project: CXF
>          Issue Type: Sub-task
>          Components: REST
>    Affects Versions: 2.1
>            Reporter: Jervis Liu
>         Attachments: CXF-1416.patch
>
>
> JAX-RS allows multiple root resources, for example, using  JAXRSServerFactoryBean.setResourceClasses(Class... classes) . But the corresponding Spring configuration only allows setting one root resource class, eg:
>   <jaxrs:server id="bookservice"  address="/">
>     <jaxrs:serviceBeans>
>       <ref bean="bookstore"/>
>     </jaxrs:serviceBeans>		   
>   </jaxrs:server>
>   <bean id="bookstore" scope="prototype" class="org.apache.cxf.systest.jaxrs.BookStore">
>   </bean>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.