cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jervis Liu (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CXF-1425) Enhancement to JAX-RS spring configuration for registering providers
Date Sun, 10 Feb 2008 02:22:08 GMT

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

Jervis Liu commented on CXF-1425:
---------------------------------

Hi Barry, could you please redo the patch based on the latest trunk? There are a couple of
merge conflicts in ProviderFactoryImpl, ProviderFactoryImplTest and Beans.xml and I cant be
100% sure which version to pick up.

Thanks,
Jervis

> Enhancement to JAX-RS spring configuration for registering providers
> --------------------------------------------------------------------
>
>                 Key: CXF-1425
>                 URL: https://issues.apache.org/jira/browse/CXF-1425
>             Project: CXF
>          Issue Type: Sub-task
>          Components: REST
>    Affects Versions: 2.1
>            Reporter: Barry Fitzgerald
>            Assignee: Jervis Liu
>             Fix For: 2.1
>
>         Attachments: CXF-1425.patch
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> Enhancement to allow a list of custom providers be specified for a spring configured
JAX-RS server. Syntax as below:
> <jaxrs:server id="bookservice"
> 		        address="/">
>     <jaxrs:serviceBeans>
>       <ref bean="bookstore"/>
>     </jaxrs:serviceBeans>
>     <jaxrs:entityProviders>
> 			<bean class="org.apache.cxf.jaxrs.provider.JAXBElementProvider"/>
> 			<bean class="org.apache.cxf.jaxrs.provider.StringProvider"/>
> 			<bean class="org.apache.cxf.jaxrs.provider.BadgerFishProvider"/>
> 	</jaxrs:entityProviders>		   
>   </jaxrs:server>
>   <bean id="bookstore" scope="prototype" class="org.apache.cxf.systest.jaxrs.BookStore">
>   </bean>
> This list will overwrite the default Entity Provider list and will be ordered as usual.

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


Mime
View raw message